This is a stupidly simple, absurdly lightweight jQuery table sorting plugin.
$ bower install jquery-stupid-table
Most table sorting plugins try to account for a limitless number of data types and their limitless ways of being presented. This leads to an extremely bloated code base with only a tiny portion of the code ever used by your project.
This plugin avoids that issue by letting you define your own ways of sorting table columns. The plugin internally recognizes "int", "string", "string-ins" (case-insensitive) and "float", so simple data tables will take very little effort on your part. See the README for more details.
Here's a simple example. Click a header to sort the table by that column.
And the following HTML$("#simpleTable").stupidtable();
<table id="simpleTable"> <thead> <tr> <th data-sort="int">int</th> <th data-sort="float">float</th> <th data-sort="string">string</th> </tr> </thead> <tbody> ... ... (rest of the table)
View the README for full documentation.