I need a little help with the custom sorting function in DataView. I have two fields that I need to sort on, status and name. I need to sort by status first (ASC) and then by name (ASC). I took a look at the custom sorting info in the docs but I am confused how to sort by two items. Any help would be greatly appreciated.
For this result please, try to sort your dataView by “Name” and then just sort it by “Status”:
myDataView.sort("#Name#",“asc”)
myDataView.sort("#Status#",“asc”)
as a result your final sorting by “status” field will consider the order of your items after the “name” sorting.