Change to using Tablesorter jQuery plugin.