How to sort a date array in PHP
问题 I have an array in this format: Array ( [0] => Array ( [28th February, 2009] => \'bla\' ) [1] => Array ( [19th March, 2009] => \'bla\' ) [2] => Array ( [5th April, 2009] => \'bla\' ) [3] => Array ( [19th April, 2009] => \'bla\' ) [4] => Array ( [2nd May, 2009] => \'bla\' ) ) I want to sort them out in the ascending order of the dates (based on the month, day, and year). What\'s the best way to do that? Originally the emails are being fetched in the MySQL date format, so its possible for me to