title: Using sum and arithmetic result as order key in hibernate criteria
body: <p>How can I express this query in hibernate criteria.</p>
  
  <pre><code>SELECT anId, SUM(fieldA) AS A, SUM(fieldB) AS B, SUM(fieldA)+SUM(fieldB) AS 'total' FROM tableA GROUP BY anId ORDER BY 'total' DESC LIMIT 5
  </code></pre>