How to sort an array by date?
<p>I have an array with these dates.</p>

<pre><code>.array(34) {
  [0]=&gt;
  string(24) "Wed Nov 14 2012 09:27:49"
  [1]=&gt;
  string(24) "Tue Nov 13 2012 15:49:06"
  [2]=&gt;
  string(24) "Wed Nov 14 2012 09:27:49"
  [3]=&gt;
  string(24) "Mon Dec 03 2012 13:58:16"
  [4]=&gt;
  string(24) "Tue Nov 13 2012 14:20:16"
  [5]=&gt;
  string(24) "Mon Dec 03 2012 16:13:38"
  [6]=&gt;
  string(24) "Thu Aug 30 2012 15:05:56"
  [7]=&gt;
  string(24) "Thu Aug 30 2012 15:11:32"
  [8]=&gt;
  string(24) "Thu Aug 30 2012 15:21:12"
  [9]=&gt;
  string(24) "Fri Oct 05 2012 10:11:28"
  [10]=&gt;
  string(24) "Thu Aug 30 2012 15:22:58"
  [11]=&gt;
  string(24) "Thu Aug 30 2012 14:38:13"
  [12]=&gt;
  string(24) "Thu Aug 30 2012 15:22:00"
  [13]=&gt;
  string(24) "Thu Aug 30 2012 15:03:15"
  [14]=&gt;
  string(24) "Thu Aug 30 2012 15:00:11"
  [15]=&gt;
  string(24) "Thu Aug 30 2012 15:01:25"
  [16]=&gt;
  string(24) "Thu Aug 30 2012 15:20:26"
  [17]=&gt;
  string(24) "Thu Aug 30 2012 14:59:21"
  [18]=&gt;
  string(24) "Thu Aug 30 2012 15:26:48"
  [19]=&gt;
  string(24) "Thu Aug 30 2012 14:58:34"
  [20]=&gt;
  string(24) "Wed Sep 19 2012 09:42:57"
  [21]=&gt;
  string(24) "Thu Aug 30 2012 15:24:34"
  [22]=&gt;
  string(24) "Thu Aug 30 2012 15:06:50"
  [23]=&gt;
  string(24) "Thu Aug 30 2012 14:57:42"
  [24]=&gt;
  string(24) "Thu Aug 30 2012 15:09:06"
  [25]=&gt;
  string(24) "Thu Aug 30 2012 14:53:13"
  [26]=&gt;
  string(24) "Thu Aug 30 2012 15:25:35"
  [27]=&gt;
  string(24) "Thu Oct 11 2012 15:19:10"
  [28]=&gt;
  string(24) "Wed Oct 10 2012 11:27:15"
  [29]=&gt;
  string(24) "Mon Dec 03 2012 16:24:06"
  [30]=&gt;
  string(24) "Thu Nov 01 2012 10:00:42"
  [31]=&gt;
  string(24) "Wed Nov 21 2012 11:08:36"
  [32]=&gt;
  string(24) "Mon Dec 03 2012 16:14:29"
  [33]=&gt;
  string(24) "Mon Dec 03 2012 16:30:31"
}
</code></pre>

<p>How do I sort this array by the date and the time? For example, "Mon Jan 01 2012 01:01:01" would be the first element in the array, and "Mon Jan 01 2012 01:01:03" would be the second element in the array.</p>
