Groupby: Set initial State on GROUPREVERSE to on

I'm trying to get the initial sort to be with the oldest group at the top.
This works but without the toggle feature
Set groupBY=modified GROUPREVERSE=on

My objective is to have a toggle with the initial sort with the recent groups at the top.

Set groupBY=modified GROUPREVERSE=Toggle

Even when I reverse the if statement below the initial sort is always with the oldest at the top.

set groupBY=modified
@if:Set GROUPREVERSE=off 
Set GROUPREVERSE=on
@if:else
Set GROUPREVERSE=off

This seems to work, from a quick test:

@if:Set GROUPBY=modified
Set GROUPREVERSE=toggle
@if:else
Set GROUPBY=modified

Thanks Leo, that's it!

1 Like