diff --git a/SabreTools.DatFiles/ItemDictionary.cs b/SabreTools.DatFiles/ItemDictionary.cs index cc783f52..4e13d443 100644 --- a/SabreTools.DatFiles/ItemDictionary.cs +++ b/SabreTools.DatFiles/ItemDictionary.cs @@ -391,10 +391,8 @@ namespace SabreTools.DatFiles // Get the possibly unsorted list List sortedList = GetItemsForBucket(key); - // Sort the list of items to be consistent + // Sort and merge the list Sort(ref sortedList, false); - - // Merge the items sortedList = DatFileTool.Merge(sortedList); // Add the list back to the dictionary diff --git a/SabreTools.DatFiles/ItemDictionaryDB.cs b/SabreTools.DatFiles/ItemDictionaryDB.cs index 8d16eddb..418901ab 100644 --- a/SabreTools.DatFiles/ItemDictionaryDB.cs +++ b/SabreTools.DatFiles/ItemDictionaryDB.cs @@ -694,10 +694,8 @@ namespace SabreTools.DatFiles // Get the possibly unsorted list List> sortedList = [.. GetItemsForBucket(key)]; - // Sort the list of items to be consistent + // Sort and merge the list Sort(ref sortedList, false); - - // Merge the items sortedList = Merge(sortedList); // Get all existing mappings