Criteria Sort By DESC Full Caps not Working

fixed the issue http://jira.grails.org/browse/GRAILS-10116
changed 
{code}
 if (direction.equals(ORDER_DESCENDING)) {
TO
 if (direction.equalsIgnoreCase(ORDER_DESCENDING)) {
{code}