I have re- created the CRM layout from Mark Osborne. With my own add on’s.
On the contacts layout in List Mode they are sorted by oldest first (although there are no Dates on the Layout list) in Mark’s version.
I have added a creation date to the body list and now want the Records listed by date (newest at the top).
e.g. When I sort a “ To Do list” everything sorts as per the list sort defined OK but when I revert (By “Show all records”) the sort is reverts to by Old to New.
I guess I need a script trigger to sort whenever I view the List layout as a whole but can’t get “On Layout Enter” to trigger the sort Is there a different trigger I should use.
Bottom line is I want my Layout list to be sorted in date order.