我在 javascript 中有一个这样的数组
[A,AA,CC,DD,B,C]
我希望它像这样排序
[A,B,C,AA,CC,DD]
javascript sorting
javascript ×1
sorting ×1