... 在Lua中,对table进行排序一般使用Lua自带的排序函数: table.sort(list[, comp]) list为需要排序的目标table,可选参数comp为排序的比较函数!
確定! 回上一頁