Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed sorting bug for multi column sort
There was a bug in multi column sort where the orders and sort fields would be reversed on table redraws without the user changing the sort info. This was because array.reverse() was used which changes the underlying array. Applying slice().reverse() first makes a copy of the original array and then returns the reverse of it, leaving the original arrays in a correct state.
- Loading branch information