This should help
•Load the sortabletable.js file into your site.
•Reference the script in the <head> section of your pages.
•Wrap the row that contains your column headers with <thead></thead> tags.
•Make sure the row with the colum headers used <th></th> tags instead of <td></td>.
•Wrap the rows that contain your table data with <tbody></tbody> tags.
•Add an id="MyTable" attribute to the <table> tag for each table you want sorted. Of course, the id must be unique on the page.
•Place the sortable table object immediately after each sortable table. It's shown in the sample code on the site, easy to place with a simple cut and paste, but remember to replace the 'MyTable' string with the id you used in that table's <table> tag.