a.sort();字母表顺序 a.sort(function(a,b){return a-b});数值顺序,返回负数,0,正数 a.sort(function(a,b){return b-a});数值反的顺序