title: Move table rows with jQuery
body: <p>I have this code:</p>
  
  <pre><code>&lt;table&gt;
   &lt;tr id="a"&gt;&lt;td&gt;A&lt;/td&gt;&lt;/tr&gt;
   &lt;tr id="d"&gt;&lt;td&gt;D&lt;/td&gt;&lt;/tr&gt;
   &lt;tr id="e"&gt;&lt;td&gt;E&lt;/td&gt;&lt;/tr&gt;
   &lt;tr id="b"&gt;&lt;td&gt;B&lt;/td&gt;&lt;/tr&gt;
   &lt;tr id="c"&gt;&lt;td&gt;C&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>How with jQuery can I put the rows in order?</p>
  
  <hr>
  
  <p><strong>Update:</strong> I need to use a move function not a sort function, since the real id's are not letters. Sorry for the confusion. I want to do something like this:</p>
  
  <pre><code>$("#a").after(rows_b_and_c)
  </code></pre>
  
  <p>But I don't know how to get the rows.</p>