I want to sort a B4XTable on multiple columns.
For example, say I have "State" names in one column, and "City" names in the other. When I click on the "State" names column, I'd like it to sort the states, then sort the cities within those states.
It seems like I should be able to manipulate the internal SQLite data with something like:
SELECT * FROM data SORT BY States ASC, Cities ASC
What code goes inside the tbl_MyCitiesTable_HeaderClicked (ColumnId As String) event sub?
And how do I get the sorted data back into the table?