There are a number of files in a folder like this:
920.jpg
920-1.jpg
920-2.jpg
When I want to get a list of files, the order of the files is as follows:
[ 920-1.jpg, 920-2.jpg, 920.jpg ]
How can I get a list where the order of the files is exactly the same as the order of the files in Windows folder?
I used os.listdir() and glob module, but did not succeed.