Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:Core
(view source)
Revision as of 17:13, 26 June 2022
12 bytes added
,
2 years ago
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