title: SQLAlchemy ORDER BY DESCENDING?
body: <p>How can I use ORDER BY <code>descending</code> in a SQLAlchemy query like the following?</p>
  
  <p>This query works, but returns them in ascending order:</p>
  
  <pre class="lang-py prettyprint-override"><code>query = (model.Session.query(model.Entry)
          .join(model.ClassificationItem)
          .join(model.EnumerationValue)
          .filter_by(id=c.row.id)
          .order_by(model.Entry.amount) # This row :)
          )
  </code></pre>
  
  <p>If I try:</p>
  
  <pre><code>.order_by(desc(model.Entry.amount))
  </code></pre>
  
  <p>then I get: <code>NameError: global name 'desc' is not defined</code>.</p>