PHP sort mutlidim array usort not working
<p>Hi I need to sort an array by date:</p>

<p>This is my array $get:</p>

<pre><code>Array ( 
    [0] =&gt; Array ( 
        [Date] =&gt; 02.06.2012 
        [Theme] =&gt; test 
    ) 
    [1] =&gt; Array ( 
        [Date] =&gt; 03.07.2012 
        [Theme] =&gt; lol 
    ) 
    [2] =&gt; Array ( 
        [Date] =&gt; 09.06.2012 
        [Theme] =&gt; hm 
    ) 
) 
</code></pre>

<p>I tried following code:</p>

<pre><code>function date_sort($a, $b) {
  return strcmp($a['Date'], $b['Date']);
}

usort($get, 'date_sort');
</code></pre>

<p>But all I get is unordered dates. My date is set dd.mm.yyyy!</p>
