]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/todo/natural_sorting.mdwn
add notes about mediawiki
[git.ikiwiki.info.git] / doc / todo / natural_sorting.mdwn
1 [[!tag wishlist]]
2 [[!tag patch]]
4 the inline plugin's sorting is plain lexical, thich may not be appropriate for
5 page titles if they have numeric components. the
6 [Sort::Naturally](http://search.cpan.org/dist/Sort-Naturally/) perl module
7 provides an algorithm for that.
9 there is a
10 [patch](http://git.ikiwiki.info/?p=ikiwiki;a=commit;h=55b83cb7bd1cd7c60bb45dc22c3745dd80a63fed)
11 attached that makes the [[plugins/inline]] plugin use Sort::Naturally if sort
12 is set to "title_natural".
14 the current patch uses `require Sort::Naturally`, so
15 [libsort-naturally-perl](http://packages.debian.org/libsort-naturally-perl)
16 does not become a dependency; it might be worth suggesting, though.
18 > See also: [[inline:_numerical_ordering_by_title]] (I probably prefer your
19 > approach..) --[[Joey]] 
21 > [[applied|done]]