JavaScript数组排序:Array.sort(function(a,b){})

nmj2086 / 2023-09-03 / 原文

array.sort(sortfunction)

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