Using jquery, how do you reorder rows in a table based on a TR attribute?
<p>I have a table with rows similar to the following. These rows get updated from time to time via jquery calls. Using jquery, how would I construct a function that reorders these table rows based on the myAttribute value putting the highest myAttribute value rows at the top and the lowest myAttribute value rows at the bottom? There could be up to 100 rows in the table. </p>

<pre><code>&lt;tr id='1' class='playerRow' myAttribute=5&gt;
      &lt;td&gt; One&lt;/td&gt;
      &lt;td&gt; Two&lt;/td&gt;
&lt;/tr&gt;
&lt;tr id='2' class='playerRow' myAttribute=6&gt;
      &lt;td&gt; One&lt;/td&gt;
      &lt;td&gt; Two&lt;/td&gt;
&lt;/tr&gt;
</code></pre>
