title: How can I do multiple "order_by" in Flask-SQLAlchemy?
body: <p>Let's say I have a <code>User</code> model with fields <code>popularity</code> and <code>date_created</code>. I want to do the following query:</p>
  
  <pre><code>SELECT * FROM user ORDER BY popularity DESC, date_created DESC LIMIT 10
  </code></pre>
  
  <p>In SQLAlchemy, for a single one this works:</p>
  
  <pre><code>User.query.order_by(User.popularity.desc()).limit(10).all()
  </code></pre>
  
  <p>Should I just add another <code>order_by()</code>? Or put both <code>popularity</code> and <code>date_created</code> in my current <code>order_by()</code>?</p>
  
  <p>I want <code>popularity</code> to have priority on <code>date_created</code> for ordering.</p>