tablesorter is a jQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes. tablesorter can successfully parse and sort many types of data including linked data in a cell. It has many useful features including:

  • Multi-column sorting
  • Parsers for sorting text, URIs, integers, currency, floats, IP addresses, dates (ISO, long and short formats), time. Add your own easily
  • Support secondary "hidden" sorting (e.g., maintain alphabetical sort when sorting on other criteria)
  • Extensibility via widget system
  • Cross-browser: IE 6.0+, FF 2+, Safari 2.0+, Opera 9.0+
  • Small code size

Installation
Please download tablesorter plugin from here http://tablesorter.com/docs/#Download . extract the archive and copy the contents to the following location sites/all/libraries/tablesorter. Make sure the main file, jquery.tablesorter.min.js, is located at sites/all/libraries/tablesorter/jquery.tablesorter.min.js

Usage
Add class "tablesorter" to your Table code like in example given.
<table id="myTable" class="tablesorter">

Milestone
#1883100 Views Support
Thanks to Nitesh Sethia for #D8 port

Similar Module
Tsort
DataTables
FooTable
Views tablesorter (D6)

Project Information

Downloads