title: sorting of a multy dimensional array php
body: <p>I need to sort an array like </p>
  
  <pre><code>$arrayName = array(0 =&gt; array('val' =&gt; 100), 1 =&gt; array('val' =&gt; 75),3 =&gt; array('val' =&gt; 10), 4 =&gt; array('val' =&gt; 15));
  </code></pre>
  
  <p>I need output like this</p>
  
  <pre><code>$arrayName = array(3 =&gt; array('val' =&gt; 10), 4 =&gt; array('val' =&gt; 15),1 =&gt; array('val' =&gt; 75), 0 =&gt; array('val' =&gt; 100));
  </code></pre>