sortPrimitives method

int sortPrimitives(
  1. dynamic a,
  2. dynamic b
)

Implementation

int sortPrimitives( a, b ) {
  return (a['p'] - b['p']).toInt();
}