ikiwiki (3.20130711) unstable; urgency=low
[ikiwiki.git] / doc / todo / natural_sorting.mdwn
1 [[!tag wishlist]]
2 [[!tag patch]]
3
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.
8
9 there is a
10 patch 55b83cb7bd1cd7c60bb45dc22c3745dd80a63fed
11 attached that makes the [[plugins/inline]] plugin use Sort::Naturally if sort
12 is set to "title_natural".
13
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.
17
18 > See also: [[inline:_numerical_ordering_by_title]] (I probably prefer your
19 > approach..) --[[Joey]] 
20
21 > [[applied|done]]