jQuery reversing the order of child elements
<p>What is the best way to reverse the order of child elements with jQuery.</p>

<p>For example, if I start with:</p>

<pre><code>&lt;ul&gt;
  &lt;li&gt;A&lt;/li&gt;
  &lt;li&gt;B&lt;/li&gt;
  &lt;li&gt;C&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>I want to end up with this:</p>

<pre><code>&lt;ul&gt;
  &lt;li&gt;C&lt;/li&gt;
  &lt;li&gt;B&lt;/li&gt;
  &lt;li&gt;A&lt;/li&gt;
&lt;/ul&gt;
</code></pre>
