Sort array with rsort() but keep titles
<p>For example, if I sort this array:</p>

<pre><code>$array = array(
    "cool"=&gt;100,
    "lol"=&gt;7,
    "wow"=&gt;50
);

rsort($array);
</code></pre>

<p>It removes the array key names:</p>

<pre><code>$array = array(
    0=&gt;100,
    1=&gt;50
    2=&gt;7,
);
</code></pre>

<p>How can I sort and keep the array names?</p>
