title: Sorting multidimensional array by values alphanumerically (first numbers, then letters)
body: <p>I have this $countries array:</p>
  
  <pre><code>Array ( [0] =&gt; 2013 Germany [1] =&gt; country [2] =&gt; Berlin [3] =&gt; Beer)
  Array ( [0] =&gt; 2012 Italy [1] =&gt; country  [2] =&gt; Rome [3] =&gt; Wine  )
  Array ( [0] =&gt; 2013 Germany [1] =&gt; country  [2] =&gt; Munich [3] =&gt; Beer )
  Array ( [0] =&gt; 2013 Germany [1] =&gt; country  [2] =&gt; Dusseldorf [3] =&gt; Beer )
  Array ( [0] =&gt; 2013 Italy [1] =&gt; country  [2] =&gt; Venice [3] =&gt; Wine )
  Array ( [0] =&gt; 2013 Russia ....) etc
  </code></pre>
  
  <p>I would like is to sort it by ascending order of the year so I'd have something like </p>
  
  <pre><code>Array ( [0] =&gt; 2012 Italy [1] =&gt; country  [2] =&gt; Rome [3] =&gt; Wine  )
  Array ( [0] =&gt; 2013 Germany [1] =&gt; country [2] =&gt; Berlin [3] =&gt; Beer)
  Array ( [0] =&gt; 2013 Germany [1] =&gt; country  [2] =&gt; Munich [3] =&gt; Beer )....
  </code></pre>
  
  <p>I've tried <em>sort</em>, <em>asort</em> and <em>natsort</em> but none of them seem to work so far. </p>
  
  <p>Any ideas?</p>