Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

TableSorter

A script for making tables on web pages sortable

When activated, TabSorter automatically detects any tables that are displayed as you surf the web, and adds some links near the top of each, allowing you to sort its contents. Links appear at the head of each column in the table, so you can choose which set of values to use to sort the data. You can also choose between alphabetic and numeric sort, as well as selecting the direction (ascending or descending), and it's easy to revert the table back to its original order at any time.

Use the 'alpha' link to make the table sortable alphabetically, or the 'num' link to sort the table using any numeric values that appear in the columns; when sorting numerically, any non-numeric values are sent to the bottom of the list out of the way. To restore the data in the table to its original order just click the link that says 'none'.

TabSorter can cope with cells that span multiple columns of the table, and when sorting it will leave any column headers in place so that table remains legible.






1 point
login to vote
Posted Jul 18, 2008

this is great, can it be sorted by 2 fields all at once?

You could comment on this script if you were logged in.