Specify 7.7 features the ability to order a subview by any field!
In the form’s XML, you can:
Replace
<cell
type="subview"
viewname="CollectionObjectSub"
id="11"
colspan="9"
rows="3"
name="collectionObjects"
initialize="addsearch=true"
/>
with
<cell
type="subview"
viewname="CollectionObjectSub"
id="11"
colspan="9"
rows="3"
name="collectionObjects"
initialize="addsearch=true;sortfield=someField"
/>
where “someField” is the field you want to sort by.
This would sort in the Ascending direction. To do Descending sort, prepend field name with a dash (e.i “-timestampcreated”)
This also works for forms in grid view (i.e. formtable)