Sorting arrays numerically in PHP
<p>i have a group of arrays that i need to sort numerically:
example:</p>

<pre><code>    $a= array('Adam','maths',3,'physics',5,'sports',6)
    $b= array('Mike','maths',6,'physics',2,'sports',8)
    $c= array('Sam','maths',3,'physics',9,'sports',6)
    $all = array($a,$b,$c)
</code></pre>

<p>Now i need to sort $all by considering only the numbers. is there an alternative to the function sort? thx  </p>
