sketchpunk / opencomicreader

Comic/Manga viewer for Android devices.
95 stars 37 forks source link

Option to turn on Natural Sort Order for comic pages and issues #46

Open rlach opened 9 years ago

rlach commented 9 years ago

Currently we have sorting 1->10>100 which is fine when your files are named 001, 002 and so on. For people with big collections of files named 1->2->...->10 this means files will be sorted in wrong order and require a lot of batch name changing, which can be especially bad if the pages in archives are also named like this.

I propose using natural sort order/human readable sort order and optionally option to enable/disable it in settings. Some helpful algorithms might be found here: http://blog.codinghorror.com/sorting-for-humans-natural-sort-order/