Make the source table sortable. Update tablesorter and simplify calls to it.
Fixes #325.