1 stringObject.localeCompare(target)
注意点:
localeCompare 使用本地的比较方法进行比较
stringObject 不能为 null
一般情况使用sort 和其搭配 进行排序