jQuery tablesorter 2.0 - currentSort widget

# tablesorter

## currentSort Widget

### Flexible client-side table sorting

Back to documentation

NOTE!

- Added v2.27.0.
  - This widget has only one option - `currentSort_callback` - which provides the following parameters.
    - `config` - The `table.config` object.
    - `values` - An array of the current sort using the `$.tablesorter.currentSortLanguage` settings.
  - Change the language of the output for this widget by modifying the `$.tablesorter.currentSortLanguage` object.
  - The current sort array is also saved to `config.currentSort`.

# Current Sort

- The last three sort arrays will appear here.

# Demo

AlphaNumeric Sort | Currency | Alphabetical | Sites
--- | --- | --- | ---
abc 123 | £10,40 | Koala | http://www.google.com
abc 1 | £234,10 | Ox | http://www.yahoo.com
abc 9 | £10,33 | Girafee | http://www.facebook.com
zyx 24 | £10 | Bison | http://www.whitehouse.gov/
abc 11 | £3,20 | Chimp | http://www.ucla.edu/
abc 2 | £56,10 | Elephant | http://www.wikipedia.org/
abc 9 | £3,20 | Lion | http://www.nytimes.com/
ABC 10 | £87,00 | Zebra | https://github.com
zyx 1 | £99,90 | Koala | http://www.mit.edu/
zyx 12 | £234,10 | Llama | http://www.nasa.gov/

# Javascript