jQuery-Accessible-RIA
jQuery-Accessible-RIA copied to clipboard
table sorting alphabetic ascending and descending swapped
It appears that the table sorting script has ascending and descending swapped on alphabetic columns. Example steps to reproduce:
- Go to http://fnagel.github.io/jQuery-Accessible-RIA/Table/performance.html
- Hover over column 0 heading. You'll see "sort ascending" in the tooltip.
- Click on column 0 heading.
Actual result: Content is ordered from Z to A (ie, words starting with Z are at the top), which is descending order.
Expected result: Content is ordered from A to Z, ascending order.
This doesn't seem to be a problem with the numeric sorting, only alphabetic.
Bug confirmed. I'm working on a solution...
This problem affects ARIA attributes too.
Issue should be fixed. Please test and give feedback.