AnsweredAssumed Answered

Sorting asc. and desc. in the same portal.

Question asked by JavierDura on Jun 20, 2015
Latest reply on Jun 21, 2015 by erolst

I am displaying some related records in a portal.

These records have a dateField.


I want to sort those records in the same portal in:

- ascending order for future dates.

- descending order for past dates.



Example (assuming that today is the 20th of June):


5th of July 2015

10th of October 2015

20th of January 2016

8th of May 2015

7th of March 2015

25th of December 2014


How can I do it?