[DDC-2764] Prefix criteria orderBy with rootAlias

This fixes DDC-2764 by prefixing the QueryBuilder rootAlias to sortBy criteria.