reorder list elements - jQuery?
<p>Is it possible to reorder <code>&lt;li&gt;</code> elements with JavaScript or pure jQuery. So if I have a silly list like the following:</p>

<pre><code>&lt;ul&gt;
    &lt;li&gt;Foo&lt;/li&gt;
    &lt;li&gt;Bar&lt;/li&gt;
    &lt;li&gt;Cheese&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>How would I move the list elements around? Like put the list element with <code>Cheese</code> before the list element with <code>Foo</code> or move <code>Foo</code> to after <code>Bar</code>. </p>

<p>Is it possible? If so, how?</p>
