# tablesorter

## Resetting the entire table sort

### Flexible client-side table sorting

Back to documentation

NOTE!

- Click on the reset button to reset the sort. The button can be used at any time.
- Reset the table by triggering a `sortReset` event on the table (see the javascript code below).
- This method was added in version 2.4.7.

# Demo

Account # | First Name | Last Name | Age | Total | Discount | Diff
--- | --- | --- | --- | --- | --- | ---
A43 | Peter | Parker | 28 | 9.99 | 20.3% | +3
A255 | John | Hood | 33 | 19.99 | 25.1% | -7
A33 | Clark | Kent | 18 | 2.89 | 44.2% | -15
A1 | Bruce | Almighty | 45 | 153.19 | 44% | +19
A102 | Bruce | Evans | 56 | $153.19 | 23% | +9
A256 | John | Clark | 44 | ($19.89) | 25.1% | (5)
A23 | Elvis | Presley | 24 | ($9.99) | 50% | (22)
A10 | Frank | Carter | 40 | -12.99 | 20% | (6)

# Javascript

Next up: Using selectorSort ››