christianbach/tablesorter — pull request #22 by diogobaeder (2014-06-28 05:42:01+00:00)
Title: Passing sortList alongside the sort events

Passing the `sortList` when `sortEnd` and `sortStart` are triggered, so that the user can do something with the current sorting list (like saving the state for the end user).

I opted by cloning the original `sortList` array before passing it to the event handlers, to avoid having the array changed inadvertedly, which could mess with tablesorter.