排序这件事,主要麻烦在默认行为和你想的不一样。我自己平时处理排序的习惯是:元素不全是字符串,就不会直接调 sort() ;带数字的字符串排序,就会老老实实加上 numeric: true ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible resultsSome results have been hidden because they may be inaccessible to you
Show inaccessible results