[Zope] Question about <dtml-in> sorting

Rik Hoekstra rik.hoekstra@inghist.nl
Tue, 30 May 2000 17:26:38 +0200


"Patrick J.M. Keane" wrote:
> 
> Does sort only sort in one direction?  I am looking to sort news items
> so that the newest items are on top, and when sorting on a date field,
> I get the opposite behaviour.  Any easy way to reverse the sort order?

Yes, by adding reverse to the sort tag ;-)

<dtml-in <sortablelist> sort=<sorting_variable> reverse>


Rik