A comparator on numbers that can be used with Array.sort
Array.sort
-1, 0 or 1 depending if x>y, x==y or x<y
x>y
x==y
x<y
A comparator on numbers that can be used with
Array.sort