Button to alternate from Sort Ascending to Sort Descending
Hopefully this is a simple one....
I have a list that displays related records from a portal. Above each field row is the title text that has a button script attached. On first click, the script will re-sort the records, ascending based on the related field.
What I would like to do, is have the same button re-sort the records, descending on the second click, alternating each click.