Anuluca Date : 2021-03-29 Tags : 2
支持ie
12345
var array = ['我','是','路','卡','利','欧'];var array2 = array.sort(function (a, b) { return a.localeCompare(b);});console.log(array2)