title: ksort on multidimensional array
body: <p>I have a multidimensional array, and I need to sort that array by a specific key in that array.</p>
  
  <p>I add to the array like this in a for loop</p>
  
  <pre><code>        $myArr[$i][0] = $row[1];
  
          $myArr[$i][1] = $row[2];
  
          $myArr[$i][2] = $row[3];
  </code></pre>
  
  <p>Now lets say that the value of $row[3] is DATE_ATOM.</p>
  
  <p>How can i arrange the completed array by $myArr[$i][2]?</p>
  
  <p>Thanks!</p>