You may want to look at the velocity SortTool. http://velocity.apache.org/tools/releases/1.4/javadoc/org/apache/velocity/tools/generic/SortTool.html
Depending on what value you want to sort by, you might need to replace getDocumentsWithTag with a custom query. Caleb abrante wrote: > > I have the following data that I recover from the XWiki data base, but I > need order it. Thanks in advance > > #set ($list = $xwiki.tag.getDocumentsWithTag($tag)) > <div> > <div id="dashboardleft"> > <div id="dashboardleftcontent"> > #displayDocumentList($list true $blacklistedSpaces) > </div> > </div> > </div> > <div style="clear:both; margin-bottom: 40px;"><!-- --></div> _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users