diff --git a/CodeWalker.Core/GameFiles/FileTypes/Gxt2File.cs b/CodeWalker.Core/GameFiles/FileTypes/Gxt2File.cs index abde75a..09ad5a7 100644 --- a/CodeWalker.Core/GameFiles/FileTypes/Gxt2File.cs +++ b/CodeWalker.Core/GameFiles/FileTypes/Gxt2File.cs @@ -141,6 +141,7 @@ namespace CodeWalker.GameFiles //error parsing hash, probably should tell the user about this somehow } } + entries.Sort((a, b) => a.Hash.CompareTo(b.Hash)); gxt.TextEntries = entries.ToArray(); gxt.EntryCount = (uint)entries.Count; return gxt;