https://github.com/codebox/table-sorter
Table Sorter
https://github.com/codebox/table-sorter
bookmarklet tablesorter
Last synced: 7 months ago
JSON representation
Table Sorter
- Host: GitHub
- URL: https://github.com/codebox/table-sorter
- Owner: codebox
- License: mit
- Created: 2011-09-16T08:45:22.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2017-02-28T00:28:21.000Z (almost 9 years ago)
- Last Synced: 2023-03-11T21:48:15.149Z (almost 3 years ago)
- Topics: bookmarklet, tablesorter
- Language: JavaScript
- Homepage: http://codebox.org.uk/pages/firefox/greasemonkey/table-sorter
- Size: 10.7 KB
- Stars: 18
- Watchers: 5
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# table-sorter
A GreaseMonkey script for making tables on web pages sortable, also
available as a Bookmarklet.
When activated, TableSorter automatically detects any tables that are displayed as you surf the web, and
adds some links near the top of each table 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.
You can try TableSorter right now, without installing anything, by using
the live demo on the project home-page
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'.
TableSorter 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.