natural sorting in the page index
Bug #303657 reported by
milk2cups
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
When I use Alt-PageDown and Alt-PageUp to enact "Next in index" and "Previous in index" in the Go menu, I will go through Part1, Part10, Part11, Part12, Part2, Part3, ..., Part8, Part9.
This behavior is annoying. I want the order to be: Part1, Part2, ..., Part8, Part9, Part10, Part11, Part12.
I do not want to change the pages' names to Part01, Part02 etc not only because this is ugly but also because for example, the initial expectation might be 42 parts in total. However, I might end up with more than 1000 parts.
Again, thanks for your effort!
I am using zim 0.27.
summary: |
- next in index: 1 2 3 or 01 02 03 + natural sorting in the page index |
Changed in zim: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
This is called "natural sorting" and so far as I understand there is no native GTK implementation of it yet. Qt only got natural sorting in Qt 4, released last year. Search on the GTK bugzilla and if you don't find a natural sorting feature request then file one. In any case, post the bug number here so that we can keep abreast.