title: Sort mongod results with javascript/nodejs method
body: <p>I am using nodejs with the <a href="https://github.com/Obvious/matador" rel="nofollow">matador</a> mvc framework.#</p>
  
  <p>I have this method to query monogodb</p>
  
  <pre><code>  .methods({
          getPopular: function(popular) {
            shows.find({date: '2012-07-01'}, popular);
        }
    });
  };
  </code></pre>
  
  <p>This works fine. My problem is I don't know how sort the results.</p>
  
  <p>I have tried</p>
  
  <pre><code>  .methods({
          getPopular: function(popular) {
            shows.find({date: '2012-07-01'}, popular).sort({show : 1});
        }
    });
  };
  </code></pre>
  
  <p>Please help. Thanks.</p>