[DatFile] Ensure proper sorting for Cascade

This commit is contained in:
Matt Nadareski
2018-02-14 16:01:49 -08:00
parent ca756c3f46
commit d4f7276e76

View File

@@ -2117,6 +2117,9 @@ namespace SabreTools.Library.DatFiles
outDats = outDatsArray.ToList();
watch.Stop();
// Then, ensure that the internal dat can be sorted in the best possible way
BucketBy(SortedBy.CRC, DedupeType.None);
// Now, loop through the dictionary and populate the correct DATs
watch.Start("Populating all output DATs");
List<string> keys = Keys;