var arr=['中国','中啊','hao',"好",'西']
arr.sort((item1,item2)=>item1.localeCompare(item2,'zh-Hans-CN'))
["好", "西", "中啊", "中国", "hao"]
var arr=['中国','中啊','hao',"好",'西']
arr.sort((item1,item2)=>item1.localeCompare(item2,'zh-Hans-CN'))
["好", "西", "中啊", "中国", "hao"]