Sorting array by letter
<p>Is it possible to output the results of an array into an HTML list sorted in alphabetical order. Here's what I mean. I have an array in the following format:</p>

<pre><code>$myArray = array(
    "apple" =&gt; "Fruit that grows ...", 
    "car" =&gt; "Vehicle on four...", 
    "ant" =&gt; "Insect ..."
    ...
);
</code></pre>

<p>Desired output:</p>

<pre><code>&lt;ul&gt;A
   &lt;li&gt;ant&lt;/li&gt;
   &lt;li&gt;apple&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;C
   &lt;li&gt;car&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>etc. </p>
