Fix hibernate search sort for project search