A plugin for jQuery called “tableSorter” makes life so much easier when you wish to sort certain columns on a table, for example filtering a table to make total amount (£) ASC or DESC.

The only HTML markup requirement is to assign the table with an id or a class in this example I have created a table like this:

<table id="sortingTable">
</table

More >