I am trying this:-
[231, 907, 1246, 1203, 1305, 484, 709, 1220, 616, 1200].sort();
and output is this:-
[1200, 1203, 1220, 1246, 1305, 231, 484, 616, 709, 907]
where typeof of arrays first element I checked is number.
any Idea why its not working ?