diff options
Diffstat (limited to 'TOOLS/lua/autoload.lua')
-rw-r--r-- | TOOLS/lua/autoload.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/TOOLS/lua/autoload.lua b/TOOLS/lua/autoload.lua index 433b2138d7..bbc33def63 100644 --- a/TOOLS/lua/autoload.lua +++ b/TOOLS/lua/autoload.lua @@ -28,7 +28,9 @@ function find_and_add_entries() if files == nil then return end - table.sort(files) + table.sort(files, function (a, b) + return string.lower(a) < string.lower(b) + end) if dir == "." then dir = "" end |