title: In Mongoose, how do I sort by date? (node.js)
body: <p>let's say I run this query in Mongoose:</p>
  <pre class="lang-js prettyprint-override"><code>    Room.find({}, (err,docs) =&gt; {
      
      }).sort({date:-1}); 
  </code></pre>
  <p>This doesn't work!</p>