Custom ordering array with key / value pairs
<p>The following array arrives:</p>

<pre><code>Array
(
    [66-507cddcd16d9786abafccfa78b19acf8] =&gt; XL
    [64-507cddcd16d9786abafccfa78b19acf8] =&gt; medium
    [65-507cddcd16d9786abafccfa78b19acf8] =&gt; large
    [63-507cddcd16d9786abafccfa78b19acf8] =&gt; small
)
</code></pre>

<p>How can I order the values of the array in ascending size order in such a way that the key / value relation is maintained? The array values may be some or all of the following</p>

<pre><code>Small
XXL
Medium
Large 
XL
</code></pre>
