zero2411 But then I need something (a field) to sort upon.
I found something more lightweight which will make it easier to maintain the pageorder parameter, while editing the page. I guess the wrap plugin is familiar. Put the following as the first line in your page:
<wrap pageorder hide> pageorder[99999] </wrap>
Now, this parameter is hidden on your page but included in the built-in page abstract (which is recorded from each page by dokuwiki core and included in the page matadata, by default). However, the pageorder parameter will show up at the beginning of the abstract string:
pageorder[99999] ...
I tested this with the minical plugin, that uses the abstract function to preview a remote page. It obtains the abstract in it's syntax component, like so (simplified), where $wp is the wiki page id:
if(auth_quickaclcheck($wp) >= AUTH_READ) {
$abstract = p_get_metadata($wp, 'description abstract');
}
The rest is string manipulation. You can loop through the pages of your namespace and build your own custom index. It's really that simple...