hello all , i have the following problem I have a list with strings for example (100_1, 100_2 .... , 100_10)
I sort the list with following code
extraImgsRaw.Sort((photo1, photo2) => photo1.CompareTo(photo2));
the result of this is : 100_1, 100_10, 100_2, 100_3 and so on
the result that I want is a logical compare like 100_1, 100_2 and then 100_10 so I prefer a Natural numeric sort not a Alphabetic sort. Do I need to write my own compare class that implements the ICompare interface or there is a build method in LINQ that does that?
thank you in advance