numeric comparision between two number a and b
a
b
Returns: -1 , 0 or +1
static int numericCompare(num a, num b) => a.compareTo(b);