The layout window has a Sort button up in the main toolbar and I have specific instructions set as to how I want to sort the found set. However, if in a script I use Show All records, then the sort is forgotten and the question is how do I restore that sort from a script? In the User Interface, I would just click Sort and the dialog would open and I would again click Sort. I know I can put this in a script - but I was thinking there should be a default sort that invokes the user interface sort.
Is there a way?