Actually I have one array and I need to sort it according to date wise but unfortunately it becomes difficult for me. Can you help me out ...
I have an array like that in below
         $data = array ( 
            array('July 2015', 2 , 5, 0, ''),
            array('September 2015', 2 , 5, 0, ''),
            array('August 2015', 2 , 5, 0, ''),
            array('March 2017', 2 , 5, 0, ''),
            array('December 2015', 2 , 5, 0, ''),
            array('March 2016', 2 , 5, 0, ''),
         );
Now I want to sort this array according to date wise that start from the smallest date to bigger date like, it will becomes like that.
         $data = array ( 
            array('July 2015', 2 , 5, 0, ''),
            array('August 2015', 2 , 5, 0, ''),
            array('September 2015', 2 , 5, 0, ''),
            array('December 2015', 2 , 5, 0, ''),
            array('March 2016', 2 , 5, 0, ''),
            array('March 2017', 2 , 5, 0, ''),
         );
Can anyone help me.
Any help will be appreciated.
Thanks
 
     
    