title: JQuery Multiple Group Sort
body: <p>I need to sort a table of users alphabetically based upon a value in a <strong>td</strong> element. I can do basic sort fine but I have 3 <strong>tbodies</strong> per user and I need them all to stick together rather then just a single one of those <strong>tbodies</strong> being sorted.</p>
  
  <p>This is an example of my table:</p>
  
  <pre><code>&lt;tbody1&gt;
  &lt;tr&gt;&lt;td&gt;The Value To Base Sort On(username)&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;/tr&gt;
  &lt;/tbody&gt;
  &lt;tbody2&gt;
  &lt;tr&gt;&lt;td&gt;some other stuff&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;/tr&gt;
  &lt;/tbody&gt;
  &lt;tbody1&gt;
  &lt;tr&gt;&lt;td&gt;other stuff&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;/tr&gt;
  &lt;/tbody&gt;
  </code></pre>
  
  <p>I need these 3 tbodies to remain linked next to each other when the table is sorted, however all 3 should be sorted based upon a value in the first tbody if that makes sense.</p>