Based on your file names, the order is also wrong, as you didn’t prepend zeros to the actual number.
E.g. after 1 comes the file with 10 in your images.
You could use sorted with a lambda function as the key argument, get the desired file index and ignore the rest of the string.