Re-arrange list items based on alphabet?
<p>I'm wondering if this is possible. I have some code below:</p>

<pre><code>&lt;p class="page_classList"&gt;
&lt;strong&gt;Crops:&lt;/strong&gt;
&lt;br&gt;
&lt;span class="cropElem"&gt;Berries - Blueberries&lt;/span&gt;
&lt;span class="cropElem"&gt;Peas&lt;/span&gt;
&lt;span class="cropElem"&gt;Squash&lt;/span&gt;
&lt;span class="cropElem"&gt;Okra&lt;/span&gt;
&lt;/p&gt;
</code></pre>

<p>Is there any way to have these spans display themselves in alphabetical order (by crop). This list is displayed when a user clicks on a farm page that is built in wordpress. Can a script rearrange these as the page loads?</p>

<p>Any help would be great!</p>