[Zope] how to sort with dtml-in

Max M maxm@mxm.dk
Wed, 04 Sep 2002 19:33:31 +0200


Lars Johannesson wrote:

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

>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 Max M



    "Skeptic Effect" or the "Randi Effect"
    When a skeptic is near, supernatural effects seem to disappear.