[DatFile, FileTools] Only files in input folders should be sorted. Everything else has to keep order.

This commit is contained in:
Matt Nadareski
2016-11-03 21:58:29 -07:00
parent dff6a37ae5
commit 8c8e06fc4b
2 changed files with 30 additions and 32 deletions

View File

@@ -825,9 +825,6 @@ namespace SabreTools.Helper.Dats
// Make sure there are no folders in inputs
List<string> newInputFileNames = FileTools.GetOnlyFilesFromInputs(inputPaths, maxDegreeOfParallelism, logger, appendparent: true);
// Sort the list first
newInputFileNames = Style.OrderByAlphaNumeric(newInputFileNames, s => s).ToList();
// If we're in inverse cascade, reverse the list
if ((diff & DiffMode.ReverseCascade) != 0)
{