Open aresundnes opened 7 years ago
On my local Windows machine, the images are already sorted alphabetically.
@paulcanning on different file and operating systems the sort order will be different. The only way to guarantee an order is to explicitly sort it.
The readdir() method sorts objects in the filesystem order, but i think it would be nice to sort images alphabetically so you can have some control of the order.
I've fixed it locally but want to suggest you change the code to something like this:
Anyway, thanks for a great project!