Home › Forums › Game Frame › General Discussion › Windows Simulator › Reply To: Windows Simulator
March 12, 2016 at 5:14 pm
#2416
Erno
Participant
Yes, prefixing with zeros might be a solution after determining the maximum length of the file names. However in C# it is trivial to sort based on the file names parsed to integers:
var sortedByValue = fileNames.OrderedBy(fileName => int.Parse(fileName).Select(fileName => fileName);