title: how to sort multidimensional array
body: <p>I have the following array:</p>
  
  <pre><code>Array
  (
  [0] =&gt; Array
      (
          [days] =&gt; Wed
          [count] =&gt; 0
      )
  
  [1] =&gt; Array
      (
          [days] =&gt; Tue
          [count] =&gt; 0
      )
  
  [2] =&gt; Array
      (
          [days] =&gt; Mon
          [count] =&gt; 1
      )
  
  [3] =&gt; Array
      (
          [days] =&gt; Sun
          [count] =&gt; 0
      )
  </code></pre>
  
  <p>And I want to sort it, so looks like this:</p>
  
  <pre><code>Array
  (
      [3] =&gt; Array
          (
              [days] =&gt; Sun
              [count] =&gt; 0
          )
  
      [2] =&gt; Array
          (
              [days] =&gt; Mon
              [count] =&gt; 1
          )
  
      [1] =&gt; Array
          (
              [days] =&gt; Tue
              [count] =&gt; 0
          )
  
      [0] =&gt; Array
          (
              [days] =&gt; Wed
              [count] =&gt; 0
          )
  </code></pre>
  
  <p>Can any one help me to do this?</p>