stolowski/QComicBook — pull request #3 by veddan (2012-11-23 22:45:54+00:00)
Title: Natural sorting of files

In the current version, Qt built-in file sorting (simple alphabetical order) is used when loading archives/directories. This works poorly when a single directory (or archive) contains many chapters of one comic.

If a directory contains chapters 98-102 with filenames `mycomic-98`, `mycomic-99` etc. the current version will present them in this order: `mycomic-100, mycomic-101, mycomic-102, mycomic-98, mycomic-99` instead of the correct order: `mycomic-98, mycomic-99, mycomic-100, mycomic-101, mycomic-102`.

This patch changes to the "natural" order.