Page 1 of 1

Ascending order

Posted: 14 Aug 2012, 14:37
by plenty
Is there a way of sorting photos within a gallery in ascending order (by file name: 1.jpg, 2jpg, 3jpg...)? When I select ascending order, I get: 1.jpg, 10.jpg, 100.jpg, 101.jpg, 102.jpg...

Thanks

Re: Ascending order

Posted: 14 Aug 2012, 16:00
by mjau-mjau
plenty wrote:When I select ascending order, I get: 1.jpg, 10.jpg, 100.jpg, 101.jpg, 102.jpg...
That is because the above in fact is true ascending order, same as below:
Code
1
102
19999999999999
2
20000000000001
That is also why cameras save files like this multiple ciphers, so that the true order is taken into consideration:
Code
00000001.jpg
00000002.jpg
00000011.jpg
00002345.jpg
You should do the same ... If not, you would need to sort manually or by title.