title: sort multidimensional array by integer value
body: <p>I have the following array:</p>
  
  <pre><code>Array
  (
  [Address Line 1] =&gt; Array
      (
          [llx] =&gt; 18.96
          [lly] =&gt; 28.88999999999999
      )
  
  [Address Line 2] =&gt; Array
      (
          [llx] =&gt; 18.73
          [lly] =&gt; 35.66
      )
  
  [City State ZIP Code] =&gt; Array
      (
          [llx] =&gt; 18.51
          [lly] =&gt; 47.16999999999999
      )
  
  [Full Name] =&gt; Array
      (
          [llx] =&gt; 18.86
          [lly] =&gt; 20.15999999999997
      )
  
   )
  </code></pre>
  
  <p>and i would like to loop through it and sort it by the lly value: so the final outcome should really be</p>
  
  <pre><code>Array
   (
  [Full Name] =&gt; Array
      (
          [llx] =&gt; 18.86
          [lly] =&gt; 20.15999999999997
      )
  
  [Address Line 1] =&gt; Array
      (
          [llx] =&gt; 18.96
          [lly] =&gt; 28.88999999999999
      )
  
  [Address Line 2] =&gt; Array
      (
          [llx] =&gt; 18.73
          [lly] =&gt; 35.66
      )
  
  [City State ZIP Code] =&gt; Array
      (
          [llx] =&gt; 18.51
          [lly] =&gt; 47.16999999999999
      )
  
    )
  </code></pre>
  
  <p>Any ideas on accomplishing this? Iv been looking over the sorting functions in php but they seem to be mainly focused on single dimension array and nothing like this unless im missing something</p>