使用方法 import { compareChinese } from "compare-chinese";const at = [ "丁方", "乙方", "甲方", "五方", "放1", "部门二", "部门3", "部门四", "部门1",].sort(compareChinese); console.log(at);// [ '五方', '甲方', '乙方', '丁方', '放1', '部门二', '部门四', '部门1', '部门3' ]