I need to sort this list
list = ['16. Michlík', '4. and 65. Bichakhchyan', '15. Pavol']
according to first number of each string. So that output should look like this
list = ['4. and 65. Bichakhchyan', '15. Pavol', '16. Michlík']
This is what I have so far, but it does not work when there is more then one number in string
sorted(list, key=lambda x : x[:x.find(".")])
Can you guys help me, please?