title: Why multisort works only in the first depth of array?
body: <p>I thought that the function <a href="http://php.net/manual/en/function.array-multisort.php" rel="nofollow">array_multisort</a> can sort multidimensional array, but this code does not work.</p>
  
  <p>Code:</p>
  
  <pre><code>$values = array(0, 2, 1, array(0, 2, 1));
  array_multisort($values, SORT_ASC);
  var_dump($values);
  </code></pre>
  
  <p>Return:</p>
  
  <pre><code>array(4) [
     0 =&gt; 0
     1 =&gt; 1
     2 =&gt; 2
     3 =&gt; array(3) [
        0 =&gt; 0
        1 =&gt; 2 //should be 1
        2 =&gt; 1 //should be 2
     ]
  ]
  </code></pre>
  
  <p>Why the array in array is not sorted? Thanks</p>