title: Sort a multi-dimensional array by the size of its sub-arrays
body: <p>I have this multidimensional array:</p>
  
  <pre><code>Array
  (
      [0] =&gt; Array
          (
          [0] =&gt; 2012-02-26 07:15:00
          )
      [1] =&gt; Array
          (
              [0] =&gt; 2012-02-26 17:45:00
              [1] =&gt; 2012-02-26 18:55:00
          )
      [2] =&gt; Array
          (
              [0] =&gt; 2012-02-26 18:55:00
              [1] =&gt; 2012-02-26 17:45:00
          )
      [3] =&gt; Array
          (
              [0] =&gt; 2012-02-26 18:57:00
              [1] =&gt; 2012-02-26 17:45:00
              [2] =&gt; 2012-02-26 18:55:00
          )
  </code></pre>
  
  <p>When I count subarrays I get this 1,2,2,3. How could I receive it in 3,2,2,1? I need to get for example last 3 subarrays with the highest subarray count (DESC, it means 3,2,2). How can I achieve this?</p>