我的github
array.sort(sortfunction)

参考:https://www.runoob.com/jsref/jsref-sort.html

posted on 2023-09-02 23:02  XiaoNiuFeiTian  阅读(24)  评论(0)    收藏  举报