Sorting files alphabetically currently breaks the ordering of pages. Example: if there are 42 images the order of pages would be 0, 10, 11, ..., 19, 1, 20, ..., 29, 2, ..., 40, 41, 42, 4, 5, 6, 7, 8, 9.
Fix this by padding the page number with an appropriate number of zeros.
Sorting files alphabetically currently breaks the ordering of pages. Example: if there are 42 images the order of pages would be 0, 10, 11, ..., 19, 1, 20, ..., 29, 2, ..., 40, 41, 42, 4, 5, 6, 7, 8, 9.
Fix this by padding the page number with an appropriate number of zeros.