文字列型の整数の配列があります。
var a = ['200','1','40','0','3'];
出力
>>> var a = ['200','1','40','0','3'];
console.log(a.sort());
["0", "1", "200", "3", "40"]
混合型配列も用意します。例えば
var c = ['200','1','40','apple','orange'];
出力
>>> var c = ['200','1','40','apple','orange']; console.log(c.sort());
["1", "200", "40", "apple", "orange"]
==================================================
文字列型の整数はソートされません。