问题
I'm using the jQuery Tablesorter plugin (http://tablesorter.com/) and it appears to me that their definition of "ascending" vs "descending" is backwards.
Below is the table that is the demo on the Tablesorter site -> http://tablesorter.com/docs/#Demo
This shows that the column is sorted as "descending" according to Tablesorter, which to my knowledge means it should be sorted Z-A. However, below you can see the result is it being sorted A-Z, which I thought was "ascending".
This was brought to my attention because in ActiveRecord, if I sort a collection "ascending" it is A-Z.
Am I crazy here? Or is this an issue with the library?
来源:https://stackoverflow.com/questions/27747244/alphabetical-sort-order-wrong-in-jquery-tablesorter