title: Hibernate and order by using column values
body: <p>Is there a way I can pull off the below query (order by followed by a like) using hibernate criteria api?</p>
  
  <pre><code>select * from table where first_name like 'bar%' order by first_name like 'bar%' desc
  </code></pre>