Is it possible to sort records differently in table and list view?
Should I use script trigger? Any advise?
For what purpose? The Table view feature of easy sorting (by column selection) is handy for users. Whereas the List view uses the dialog.
But yes, you can script sorts.
Sent from miPhone
would this function help?
To build on Beverly's suggestion, there's a script trigger that is tripped when you change the view. So a script performed by that trigger could use the get function that she recommends to detect when you have changed to "List" or "table" view and then perform a different sort records script step to produce different sort orders for either view of the same layout.
This is a layout based trigger, so you go into layout setup to find it and set it up.
Retrieving data ...