# tablesorter

## Using selectorSort

### Flexible client-side table sorting

Back to documentation

NOTE! Click on any column header link to sort that column. Clicking anywhere else within the header will not initiate a sort.

# Demo

Account # aa | First Name bb | Last Name cc | Age dd | Total ee | Discount ff | Diff gg
--- | --- | --- | --- | --- | --- | ---
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

# HTML

Next up: Sorting empty cells ››