This PR adds support for a inverse-sort class on the column header which will cause the initial sort direction to be inverted. That is, upon first click the column will be sorted in descending order. Repeated sort events of the same column will continue as before, alternating ascending and descending.
Sorting by another column and then returning to the inverse-sort column will have it sort in descending order again. Each initial sort will be in the other direction from the current behavior.
This PR adds support for a
inverse-sort
class on the column header which will cause the initial sort direction to be inverted. That is, upon first click the column will be sorted in descending order. Repeated sort events of the same column will continue as before, alternating ascending and descending.Sorting by another column and then returning to the
inverse-sort
column will have it sort in descending order again. Each initial sort will be in the other direction from the current behavior.