My app gets data (ID, name, creationDate) sorted by a creationDate, in the form of list of maps, from mysql using php. I then create a corresponding list of arrays, which is used to populate a b4xTable.
Now I need to sort the same data by ID column instead. I know that I could query mysql to get another copy of data sorted by ID column, and I'm wondering whether there is an easy way to avoid the second round trip to the remote server.
Thanks in advance for your helps!
Now I need to sort the same data by ID column instead. I know that I could query mysql to get another copy of data sorted by ID column, and I'm wondering whether there is an easy way to avoid the second round trip to the remote server.
Thanks in advance for your helps!