title: Grails mapping sort on multiple fields :: Groovy sort on multiple map entries
body: <p>Stumped on this one.  In Grails it seems one cannot define a default sort on multiple columns in domain mapping a la static mapping = { sort 'prop1 desc, prop2 asc' }, or { sort([prop1:'desc', prop2:'asc']) }.  Only first column gets sorted, lame.</p>
  
  <p>Similarly, when trying to Groovy sort a Grails findAllBy query on multiple columns, the second sort overrides the first.</p>
  
  <p>def list = [[rowNum:2,position:3],[rowNum:1,position:2],[rowNum:3,position:1]]</p>
  
  <p>list.sort{it.rowNum}.sort{it.position}</p>
  
  <p>Obviously missing the boat on the latter case, the groovy sort. I have seen postings re: implementing comparable, but looking for something more concise if possible.</p>