title: Sort documents by whether a field is greater than 0?
body: <p>Say I have a collection with documents like below:</p>
  
  <pre><code>{
    title: 'test2',
    count: 0
  },
  {  
    title: 'test1,
    count: 2
  },
  {
    title: 'test3',
    count: 3
  }
  </code></pre>
  
  <p>I would like them to be displayed in the following order:</p>
  
  <ul>
  <li>First display all documents that have a count > 0 ordered by the title.</li>
  <li>After that display all documents that have a count == = ordered by the title.</li>
  </ul>
  
  <p>Meaning the above data should display: <code>title1, title3, title2</code></p>
  
  <p>So basically sort by <code>{count &gt; 0}: 1, title: 1</code></p>
  
  <p>I started with this: </p>
  
  <p><code>db.documents.find().sort({count: 1, title: 1})</code></p>
  
  <p>But this sorts by the count, rather than sorting by whether the count is greater than 0.</p>
  
  <p>Is there a way to do this?  </p>