joequery/Stupid-Table-Plugin — pull request #52 by zephyr-dev (2013-02-07 19:47:29+00:00)
Title: Allow user to specify a default sort order

We needed the ability to have the first click on a column header sort descending, rather than ascending. We found it wasn't possible with the library as it was, so we made a little patch that allows the user to supply a new data attribute, `data-default-sort`. If that is not supplied, it works just as it used to, sorting by ascending on the first click.