Don't use just
Sort
, use
Sort(Comparison<t>)</t>
:
http://msdn.microsoft.com/en-us/library/w56d4y5z.aspx[
^].
I hope, you can find the comparison criterion: extract the number, use
int.Parse
(or some other appropriate "Parse") to find the number, compare numbers, not strings.
However, first of all, think how could you end up having strings with numbers, instead of a list or other collection with properly structured data. This is one of the worst beginner's trends these days: using strings representing data instead of data itself. Get rid of the bad habits.
—SA