So I have a list that due to some limitations elsewhere has ended up something like the following:
list = ['2. Name','1. Name','3. Name','4. Name','5. Name']
Now I would like to order these by the numbers at the beginning of each string, is that possible? just ordering them throws them into a weird order that is technically right, but not what I'm looking for, e.g:
1, 10, 11, ... , 2, 20, 21 etc
is there a way to get these into a proper numerical order? The numbers appending each string are not necessary, they're only there for me to check the order is correct more easily.