THIS IS A STATIC MIRROR OF USERSCRIPTS.ORG - LOGINS DO NOT WORK

TableSorter

By [email protected] Last update Apr 20, 2008 — Installed 2,624 times.

Script Summary: A script for making tables on web pages sortable



[Remotely hosted version](http://codebox.no-ip.net/scripts/greasemonkey/TableSorter.user.js)

[Script homepage](http://codebox.no-ip.net/controller?page=firefox.TableSorter)

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.