jQuery Plugins

Tablesorter

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.

$(document).ready(function(){
    $("#senatetable").tablesorter(
      {
        "theme"   : "blue",
        "widgets" : ["zebra"]
      }
    );
});