Skip to content

Commit cba2513

Browse files
author
LocalIdentity
committed
Sort dat list in exporter sidebar
The sidebar wasn't using a sorted list anymore after to switching to use GetNeededFiles
1 parent 78185fc commit cba2513

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Export/Classes/GGPKData.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ end
126126

127127
function GGPKClass:AddDat64Files()
128128
local datFiles = self:GetNeededFiles()
129+
table.sort(datFiles, function(a, b) return a:lower() < b:lower() end)
129130
for _, fname in ipairs(datFiles) do
130131
local record = { }
131132
record.name = fname:match("([^/\\]+)$") .. "c64"

0 commit comments

Comments
 (0)