• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
no edit summary
Line 212: Line 212:  
end
 
end
   −
function Utils.sort(tbl)
+
function Utils.sort(tbl, f)
     table.sort(tbl)
+
     table.sort(tbl, f)
 
     return tbl
 
     return tbl
 
end
 
end
   −
function Utils.isort(arr)
+
function Utils.isort(arr, f)
 
     local result = Utils.icopy(arr)
 
     local result = Utils.icopy(arr)
     table.sort(result)
+
     table.sort(result, f)
 
     return result
 
     return result
 
end
 
end
cssedit, gkautomate
7,064

edits

Navigation menu