From 5102b6f08e078456c97633ffa9bbc3d6339738ad Mon Sep 17 00:00:00 2001 From: dvs1 Date: Wed, 15 Jan 2025 15:27:23 +1000 Subject: Try that again. --- notYetAnotherWiki.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua index 55953cd..01d14f1 100755 --- a/notYetAnotherWiki.lua +++ b/notYetAnotherWiki.lua @@ -227,7 +227,7 @@ for name, file in pairs(Files) do for i, f in pairs(Subs[path].subs) do table.insert(subs, f) end - table.sort(subs) + table.sort(subs, function(a, b) return (a <= b) end) for i, f in ipairs(subs) do local pth = path if '' ~= path then pth = path .. '/' end -- cgit v1.1