title: How to sort array in PHP using one of the field
body: <p>I'm trying to sort the array in PHP. Please see my array:</p>
  
  <pre><code>Array
  (
      [0] =&gt; Array
          (
              [id] =&gt; 8
              [date_start_month_name] =&gt; January
              [approved] =&gt; Accepted: yes
          )
  
      [1] =&gt; Array
          (
              [id] =&gt; 3
              [date_start_month_name] =&gt; January
              [approved] =&gt; Accepted: yes
          )
  
      [2] =&gt; Array
          (
              [id] =&gt; 2
              [date_start_month_name] =&gt; March
              [approved] =&gt; Accepted: yes
          )
  
      [3] =&gt; Array
          (
              [id] =&gt; 5
              [date_start_month_name] =&gt; April
              [approved] =&gt; Accepted: yes
          )
  
  )
  </code></pre>
  
  <p>I want to sort the array using month name, for example: <strong>January</strong> and get something like this:</p>
  
  <pre><code>Array
  (
      [0] =&gt; Array
          (
              [id] =&gt; 8
              [date_start_month_name] =&gt; January
              [approved] =&gt; Accepted: yes
          )
  
      [1] =&gt; Array
          (
              [id] =&gt; 3
              [date_start_month_name] =&gt; January
              [approved] =&gt; Accepted: yes
          )
  )
  </code></pre>
  
  <p>How can I do that? Thanks in advance for any help. Best!</p>