title: Sortable HTML table with multirow header
body: <p>There are several JS scripts that can sort HTML table columns, for example this one: <a href="http://www.kryogenix.org/code/browser/sorttable/" rel="nofollow">http://www.kryogenix.org/code/browser/sorttable/</a></p>
  
  <p>But they all seem to work if your  (The fixed header rows) is 1 row. I have 3 rows, there are categories at top and breakdown sub categories down, sorta like this: </p>
  
  <pre><code>---------------------------------------------------------------------------------
  | Category 1                               | Category 2                         |
  | Sub cat 1 | Sub cat 2 | Sub cat 3        | Sub cat 4 | Sub cat 5              |
  | data      | data      | data             | data      | data                   |
  </code></pre>
  
  <p>So my question is, is there a script that can sort HTML table rows based on the bottom most thead row.</p>
  
  <p>So in the example I would like to sort the data based on sub cats.</p>