title: Alternative to skip and limit for mongoose pagination with arbitrary sorting
body: <p>Let me start by saying that I've read (<a href="https://stackoverflow.com/questions/5049992/mongodb-paging">MongoDB - paging</a>) that using skip and limit for pagination is bad for performance and that its better to sort by something like <code>dateCreated</code> and modify the query for each page.</p>
  
  <p>In my case, I'm letting the user specify the parameter to sort by. Some may be alphabetical. Specifying a query for this type of arbitrary sorting seems rather difficult. </p>
  
  <p><strong>Is there a performance-friendly way to do pagination with arbitrary sorting?</strong></p>
  
  <p>Example</p>
  
  <pre><code>mongoose.model('myModel').find({...})
          .sort(req.sort)
          ...
  </code></pre>
  
  <p>Secondary question: At what scale do I need to worry about this? </p>