Appearance
function compareDesc(a: number, b: number): number
Compare the numbers in descending order.
[1, 9, 2, 8, 3, 7, 4].sort(num.compareDesc) // [1, 2, 3, 4, 7, 8, 9]