map can't currently change sort ordering

master
http://smcv.pseudorandom.co.uk/ 2010-04-22 19:28:31 +00:00 committed by Joey Hess
parent 8eac7c2ad4
commit 418670c7e8
1 changed files with 6 additions and 0 deletions

View File

@ -89,3 +89,9 @@ Is there any way to do that? I don't mind mucking around with `\[[!meta]]` on e
I feel like this should be obvious, but I can't figure out how to sort numerically.
I have `map pages="./* and !*/Discussion and !*/sidebar"` and a bunch of pages with names like 1, 2, 3, 11, 12, 1/1.1, 12/12.3 etc. I want to sort them numerically. I see lots of conversation implying there's a simple way to do it, but not how.
> No, you can't: map can't currently use a non-default sort order. If it
> could, then you could use [[plugins/sortnaturally]]. There's a
> [[feature_request|todo/sort_parameter_for_map_plugin_and_directive]];
> [[a_bug_references_it|bugs/map_sorts_by_pagename_and_not_title_when_show=title_is_used]].
> --[[smcv]]