jQuery tablesorter
see example: http://tablesorter.com/docs/
HTML Code:
<table id="myTable">
</table>
Javascript Code:
$(document).ready(function()
{
$("#myTable").tablesorter( {sortList: [[0,0], [1,0]]} );
}
);
Last Name | First Name | Due | Web Site | |
---|---|---|---|---|
Smith | John | $50.00 | ||
Bach | Frank | $50.00 | ||
Doe | Jason | $100.00 | ||
Conway | Tim | $50.00 |