Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#23 Alphanumeric archive load order; Comix 4.0.4

open
nobody
None
5
2009-06-24
2009-06-24
No

Here's a quick patch in response to https://sourceforge.net/forum/forum.php?thread_id=3239773&forum_id=489523 if anyone wants it.
It just makes it so that archives will load in order like: 1.rar, 2.rar, ..., 8.rar, 9.rar, 10.rar, ..., 19.rar, 20.rar
Previously it loaded like: 10.rar, ..., 19.rar, 1.rar, 20.rar since that's how it's defined in the locale files.

Discussion

  • Karl Ostmo
    Karl Ostmo
    2009-09-29

    I have tested this patch, and it works. Not only does alphanumerc_sort() correctly handle simple numeric filenames as described above, it correctly sorts complex numbering schemes such as:
    "MyComic v8 c1.cbr", "MyComic v8 c2.cbr", ... "MyComic v8 c10.cbr".

    This should resolve Bug #2766253, Bug #2834284, and Bug #2817501. Please apply this patch ASAP!