Sort numbers with compareFunction()