JS Array 字母、数组 https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare let arr=[]; console.log( arr.sort((item1,item2)=>{ return item1 .localeCompare( item2,'zh-CN', { numeric: true }); }) ); 相关文章: Intel? 64 and IA-32 Architectures Software Developer’s Manual Bootstrap 笔记 使用微软语言包实现汉字(还其他非汉字字符)转拼音 XPO 最佳实践(XPO Best Practices)