[Zope] how to sort with dtml-in

Lars Johannesson lars@gruk.net
Wed, 4 Sep 2002 10:03:25 -0700 (PDT)


Hi all,

Hope this isn't too lame a question:

I'm using this construct, right out of the Elvis example:

<dtml-in expr="newsFolder.objectValues()">
<dtml-var sequence-item>
</dtml-in>

The folder contains small text files.  How do I get this to sort by
"most recently added", so the newest additions to the folder end up at
the top?  It seems to work in the reverse, by default.

regards,
--Lars Johannesson