3 ms·The JS sort example was interesting... solution. [5, 10, 1].sort(function(a,b){return a - b});by tracker1 13y agoThe JS sort example was interesting... solution. [5, 10, 1].sort(function(a,b){return a - b});