# tablesorter

## Using a Custom Sort Script

### Flexible client-side table sorting

Back to documentation

# Demo

NOTE!

- The custom sort used here is from the original tablesorter plugin v2.0.3. Sort the first column to see how it sorts alphanumeric data.
- This option is not part of the original plugin (v2.2).

Account # | First Name | Last Name | Age | Total | Discount | Diff
--- | --- | --- | --- | --- | --- | ---
a1a10 | Peter | Parker | 28 | 9.99 | 20.3% | +3
a1a2 | John | Hood | 33 | 19.99 | 25.1% | -7
A1a1 | Clark | Kent | 18 | 2.89 | 44.2% | -15
A2b2 | Bruce | Almighty | 45 | 153.19 | 44% | +19
A1d2 | Bruce | Evans | 56 | $153.19 | 23% | +9
a2b11 | John | Clark | 44 | ($19.89) | 25.1% | (5)
A2b1 | Elvis | Presley | 24 | ($9.99) | 50% | (22)
A1b0 | Frank | Carter | 40 | -12.99 | 20% | (6)

# Javascript

# HTML

Next up: Sorting Accented Characters ››