title: how to sort date in array in php?
body: <pre><code>Array
  (
      [0] =&gt; 01_January_2020
      [1] =&gt; 02_December_2019
      [2] =&gt; 02_January_2020
      [3] =&gt; 03_December_2019
      [4] =&gt; 03_January_2020
      [5] =&gt; 04_December_2019
      [6] =&gt; 04_January_2020
      [7] =&gt; 05_December_2019
      [8] =&gt; 05_January_2020
      [9] =&gt; 06_December_2019
      [10] =&gt; 06_January_2020
      [11] =&gt; 07_December_2019
      [12] =&gt; 07_January_2020
      [13] =&gt; 08_December_2019
      [14] =&gt; 08_January_2020
      [15] =&gt; 09_December_2019
      [16] =&gt; 09_January_2020
      [17] =&gt; 10_December_2019
      [18] =&gt; 10_January_2020
      [19] =&gt; 11_December_2019
      [20] =&gt; 11_January_2020
      [21] =&gt; 12_December_2019
      [22] =&gt; 12_January_2020
      [23] =&gt; 13_December_2019
      [24] =&gt; 13_January_2020
      [25] =&gt; 14_December_2019
      [26] =&gt; 14_January_2020
      [27] =&gt; 15_December_2019
      [28] =&gt; 15_January_2020
      [29] =&gt; 16_December_2019
      [30] =&gt; 16_January_2020
      [31] =&gt; 17_December_2019
      [32] =&gt; 17_January_2020
      [33] =&gt; 18_December_2019
      [34] =&gt; 18_January_2020
      [35] =&gt; 19_December_2019
      [36] =&gt; 19_January_2020
      [37] =&gt; 20_December_2019
      [38] =&gt; 20_January_2020
      [39] =&gt; 21_December_2019
      [40] =&gt; 22_December_2019
      [41] =&gt; 23_December_2019
      [42] =&gt; 24_December_2019
      [43] =&gt; 25_December_2019
      [44] =&gt; 26_December_2019
      [45] =&gt; 27_December_2019
      [46] =&gt; 28_December_2019
      [47] =&gt; 29_December_2019
      [48] =&gt; 30_December_2019
      [49] =&gt; 31_December_2019
  )
  </code></pre>
  
  <p>This is my array and I want to be sorted by month and date wise like</p>
  
  <pre><code>01_December_2019
  02_December_2019.. 
  and all
  </code></pre>
  
  <p>I tried so many methods but I didn't get any result. Can anyone help me out how to do this?</p>