If we have files which are numbered like this
file1, file2, ... file 10, file11
the sorting algorithm only takes into account ASCII
comparison, therefore, the order would be
file1, file10, file11, file2, ...
Currently cbz creators would have to be careful to
number their files with prefix 0, i.e. file01, file02,
file03 etc. However, this isn't always done.
Therefore a more robust sorting algorithm would detect
numberical substrings and use a different comparison
I'll try to code it up when I have time.
In the meantime, here is a bug report in case anyone
else wants to fix it before me.
Log in to post a comment.