Sort numbers in ascending order.
[10, 4, 5, 0].sort(numericComparer);// Yields: [0, 4, 5, 10][10, 4, 5, 0].sort(comparerInverse(numericComparer));// Yields: [ 10, 5, 4, 0] Copy
[10, 4, 5, 0].sort(numericComparer);// Yields: [0, 4, 5, 10][10, 4, 5, 0].sort(comparerInverse(numericComparer));// Yields: [ 10, 5, 4, 0]
Sort numbers in ascending order.