Toggle Ascending/Descending in sort order dynamically
Hello,
I've got a variable vToggleSortOrder that has the default value of 0. By pressing a button it changes to 1 if 0 and back to 0 if 1. I've got an expression that dynamically changes the sort order depending on the variable. However, I would need to to have it be Ascending in one scenario and Descending in the other, is this possible? Or do I somehow have to manipulate the results.
Sorting is either in starting time HH:MM:SS or interval in time between two dates HH:MM:SS.