GRAILS-5306 - Allow domain class mapping sort by a map

http://jira.grails.org/browse/GRAILS-5306