I personally hate the order of pages returned by the standard sorting routines and would rather an order that understood numeric ordering. That is, instead of having the list:
I'd like to get the list:
There are also many other case, especially for localisation, where being able to set the page name order would be useful.
To achieve this, I propose adding a JSPWiki property which specifies the Comparator to be used for page names. Before I do the work and submit a patch, I'd like to know:
- Would this be a welcome feature?
- Is jswpwiki.pageNameComparator an appropriate property name? If not, what do you suggest?