summaryrefslogtreecommitdiff
path: root/doc/todo/natural_sorting.mdwn
blob: 5df17e95b1147f733283be7721fddf9671e0ecd1 (plain)

[[!tag wishlist]] [[!tag patch]]

the inline plugin's sorting is plain lexical, thich may not be appropriate for page titles if they have numeric components. the Sort::Naturally perl module provides an algorithm for that.

there is a patch attached that makes the [[plugins/inline]] plugin use Sort::Naturally if sort is set to "title_natural".

the current patch uses require Sort::Naturally, so libsort-naturally-perl does not become a dependency; it might be worth suggesting, though.

See also: [[inline:_numerical_ordering_by_title]] (I probably prefer your approach..) --[[Joey]]

[[applied|done]]