title: php determine position of array key relative to another key
body: <p>I was wondering if it was possible to determine what position a key in an array is in relation to another key.  I have a large multidimensional array and I need perform Function A when the key [E14_21] comes before [E14_20] and I need to perform a different Function B if not...</p>
  
  <pre><code>//perform Function A if:
  [E14_20_0] =&gt; Array
      (
          [E14_21] =&gt; 3235
          [E14_20] =&gt; 96
      )
  //Perform Function B if:
  [E14_20_0] =&gt; Array
      (
          [E14_20] =&gt; 96
          [E14_21] =&gt; 3235
      )
  </code></pre>