title: php array_multisort(): Array sizes are inconsistent
body: <p>How can I use the php array_multisort to sort arrays like this? I can't find any examples with this type of arrays. I have tried different avenues but I keep getting the error array_multisort(): Array sizes are inconsistent. </p>
  
  <pre><code>$array= Array (
      "Arnold" =&gt; Array ( "index" =&gt; 2, "games_played" =&gt; 1, "score" =&gt; 5 ),
      "Chris"  =&gt; Array ( "index" =&gt; 1, "games_played" =&gt; 1, "score" =&gt; 5 ),
      "Mike"   =&gt; Array ( "index" =&gt; 0, "games_played" =&gt; 2, "score" =&gt; 5 )
  );
  </code></pre>