Sorting by column/key title
Sorting by column/key title

How can I set the primary and secondary sorting by using the column titles, so that I can sort on "Category" and then "Date modified"? I am currently using the index value and sortColumnIndex, but I need a more dynamic approach for a simpler setup.
This discussion has been closed.