Here's a fragment from the layout, where records are sub-summarized by the quarter.
Now the records are sorted by the quarter from the oldest quarter to the newest. I want to add additional script, where I, depending on which column I click, could change sort order to sort that column from highest number to the lowest, yet keeping records in sub-summary (I have no body part in this layout, just sub-summary by the quarter).
How can this be done?
By the way, I tried just hitting "Sort records" button in the Browse mode and sort by one of the column fields, but nothing happened, sort order remained as you see it.