[Zope] Reverse sort w/ dtml-in

Chuck Burdick (TT) chuck.burdick@tradingtechnologies.com
Wed, 8 Dec 1999 16:10:00 -0600


I'm trying to implement some database interaction in Zope.

I'm using ZSQL and <dtml-in> tags to display the data on the web page.  The
data has a date in it, and I would like to sort so that most recent is
first.  However, I see no mention of a "reverse" option with the sorting
capability of the <dtml-in> tag.

Is there a way to script the reverse sorting in DTML, or do I have to do all
my sorting inside the database query (ZSQL method)?

Thanks,
Chuck Burdick
Web Administrator / Developer
Trading Technologies, Inc.

chuck.burdick@tradingtechnologies.com
(847) 424-8844