js sort 数字排序
参考:https://blog.csdn.net/weixin_43742708/article/details/106367046
arr = arr.sort((x, y) => {
return x - y;
});
参考:https://blog.csdn.net/weixin_43742708/article/details/106367046
arr = arr.sort((x, y) => {
return x - y;
});