diff --git a/tools/FFSourceGen/Program.cs b/tools/FFSourceGen/Program.cs index 3f84589a..f255ffa4 100644 --- a/tools/FFSourceGen/Program.cs +++ b/tools/FFSourceGen/Program.cs @@ -110,7 +110,7 @@ private List GetHighestLevelDirectories(string path) private async Task GenerateClasses(string lexiconPath) { - var files = Directory.EnumerateFiles(lexiconPath, "*.json", SearchOption.AllDirectories).ToList(); + var files = Directory.EnumerateFiles(lexiconPath, "*.json", SearchOption.AllDirectories).OrderBy(n => n).ToList(); Console.WriteLine($"Found {files.Count()} files."); var defs = files.Where(n => n.Contains("defs.json")).ToList();