title: Sort an array by a child array's value in PHP
body: <p>I have an array composed of arrays. I want to sort the parent array by a property of the child arrays. Here's an example</p>
  
  <pre><code>array(2){
      [0]=&gt; array(3){
          [0]=&gt; string(6) "105945"
          [1]=&gt; string(10) "First name"
          [2]=&gt; float(0.080878465391)
      }
      [1]=&gt; array(3) {
          [0]=&gt; string(6) "109145"
          [1]=&gt; string(11) "Second name"
          [2]=&gt; float(0.0504154818384)
      }
  }
  </code></pre>
  
  <p>I would like to sort the parent array by <code>[2]</code> ascending in the child arrays, so in this case the result would be the child arrays reversed (<code>.05</code>, <code>08</code>).  Is this possible using any of the numerous PHP sort functions?</p>