Skip to main content.
home | support | download

Back to List Archive

Re: Reverse sort date

From: Bill Moseley <moseley(at)>
Date: Sat Jul 27 2002 - 21:08:03 GMT
At 05:15 PM 07/26/02 -0700, Scot Hacker wrote:
>I've searched the archives and documentation but haven't found an answer to
>this, hoping someone can help. Using v2.1 dev 25 and the bundled CGI
>Last Modified sorts documents oldest to newest. This is logical, but I want
>the most recently modified docs to sort first (default to reverse), while
>forward is still the default for all other sorts. Is it possible to have a
>different sort order for the date property only?

Look for the -s switch at:

You can use modifiers "desc" and "asc" to control the sort order.

>I've studied the scripts but can't see a way to do this (but I'm a perl

Which script?  The example/swish.cgi script should allow you to select and
sort by date.  See

Bill Moseley
Received on Sat Jul 27 21:12:01 2002