Hi,
I want to sort the items in a panel by name.
I'm using as follows, but the items in the panel are not in alphabetical
order.
How can I do this with the same code below?
#set($web = $doc.web)
#panelheader('Name')
#foreach($subdoc in $xwiki.getSpaceDocsName("$doc.web"))
#if($subdoc!='WebPreferences' && $subdoc!='WebHome')
- [${doc.web}.${subdoc}]
#end
#end
#panelfooter()
Thanks,
Alexandre Souza