I have the following list which is the output of mylist.sort()
['0_sound.wav', '10_sound.wav', '15_sound.wav', '20_sound.wav', '5_sound.wav']
This makes sense, since the filenames are treated as strings. But I want the following order:
['0_sound.wav', '5_sound.wav', '10_sound.wav', '15_sound.wav', '20_sound.wav']
What is a good way of archieving this? The filename may vary, it´s not always "sound", which would make it easier.