title: Sort by date and time in mongoose?
body: <p>Can someone tell me how I can sort an array of items according to date and time. Currently, I am using </p>
  
  <pre><code>image.find({reviewed:true }, null, {sort:{"submittedDate":-1}}, 
             function (err, images) {})
  </code></pre>
  
  <p>My schema for date is:</p>
  
  <pre><code>submittedDate: Thu, 08 Nov 2012 15:42:47 GMT
  </code></pre>
  
  <p>But it sort only date wise. I want to sort first by time then by date.</p>
  
  <p>Any help will be appreciated. </p>