In the list of menus at the top, go to "Records" --> "Sort Records..."
Is that what you're looking for or are you wanting to specify the sort via script?
Thanks for the reply. No its in the development stage, where I want the rows to sort in a specific order when the rows are first presented to the user. I set it during the creation of the script, but I want to schange the sort order I originally set. I am beginning to wonder if I need to delete and recreate the layout, but that seems quite daft.
I know it can be done by script and will eventually need to deal with that, but at this stage the requirement is reasonably simpel for the solution.
Go into Layout mode and under the Layout menu at the top, select "Layout Setup." In this dialog you can specify a script trigger for when the layout loads. You can trigger a sort script so the records will be in the order you want every time you (or a user) comes to the layout.
Ah that makes sense. Thanks very much.