I’m populating a DataTable with some data that I want to sort by the column ‘label’ as the order the table is populated in is not being maintained when I render the table (as either a table or evolution graph)
To apply the sort I’m currently using the following method in my API method before returning the table to the controller:
However, this seems to behave strangely. Changing the sort order makes a different, but the resulting order is neither truly ascending or descending, am I doing something wrong?
Also, is anyone able to explain why the original population order isn’t maintained?