I'm trying to figure out how to sort a list of strings that I have. The default comparer is doing something fun with the file names, though it totally makes sense. My list is a list of file names that come out of a folder in this order:
8_1-MDX 501
9_1-MDX 501
10_1-MDX 501
11_-MDX 501
12_1-MDX 501
And it's outputting them in this order:
10_1-MDX 501
11_1-MDX 501
12_1-MDX 501
8_-MDX 501
9_1-MDX 501
I get why it wants to do that, but the List. Sort methods are a bit confusing and I'm brand new to this. Thanks for any help I can get, and if someone wants to knock me for not understanding delegates well enough, I completely understand. Thanks!