Another newbie question : sorting opposite way ?
I have a DTML document where i sort a list of documents according to the bobobase_modification_time property. Problem is, they're listed with the oldest document first. Is there a quick way to tell the <!--#in> tag to sort the opposite way, or do i have to make an expression just to calculate a new number to sort by ? The sorting looks like this at the present : <!--#in "objectValues(_['sequence-item'])" sort=bobobase_modification_time--> Thanks for all help. :-) ------------------------------------------------ Geir B Hansen geirh@funcom.com Web-designer / Graphic artist Funcom Oslo ------------------------------------------------
Geir B Hansen schrieb:
I have a DTML document where i sort a list of documents according to the bobobase_modification_time property. Problem is, they're listed with the oldest document first. Is there a quick way to tell the <!--#in> tag to sort the opposite way, or do i have to make an expression just to calculate a new number to sort by ?
The sorting looks like this at the present :
<!--#in "objectValues(_['sequence-item'])" sort=bobobase_modification_time-->
There is a quick way, just use the 'reverse' attribute: <!--#in "objectValues(_['sequence-item'])" sort=bobobase_modification_time reverse--> regards, Thomas -- fon: ++49 (0)40 42878 3781 fax: ++49 (0)40 42878 2728
participants (2)
-
Geir B Hansen -
Thomas Weiner