title: Grails default sort of "hasMany" domain attributes
body: <p>I'm trying to set default sort of my <code>hasMany</code> attribute using mapping statement. I'm following the grails doc but it doesn't work for me (grails 1.3.5). My code looks like:</p>
  
  <pre><code>class Note {
      Calendar    sendDate
      static belongsTo = Message
  }
  
  class Message {
      static  hasMany = [notes: Note]
      static mapping = {
          notes sort:'sendDate desc'
      }
  }
  </code></pre>
  
  <p>The error message looks like:</p>
  
  <pre><code>...
  Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'notes0_.sendDate' in 'order clause'
          at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
          at com.mysql.jdbc.Util.getInstance(Util.java:384)
  ...
  </code></pre>
  
  <p>Do you see any mistakes in my code?</p>