title: How to iterate over object list in reverse order in Grails?
body: <p>From a list of GORM database objects that are ordered desc in my user domain model I want to order them asc (i.e., in reverse order in the view). For example to get the latest books of a user from the database, but insert them in the Dom in reverse order where the latest book comes last. </p>
  
  <p>How do I perform a reverse each in my GSP?   </p>
  
  <p>Controller: </p>
  
  <pre><code>def books = user.books
  </code></pre>
  
  <p>GSP:</p>
  
  <pre><code>&lt;g:each in="${books}" var="book"&gt;${book}&lt;/g:each&gt;
  </code></pre>