[1,2,3,15,30,7,5,45,60].sort() // = [1,15,2,3,30,45,5,60,7]
See String Integers Comparison for the explanation.
—@stuartpb