Update criteria-jpa/src/main/java/dk/apaq/framework/criteria/jpa/CriteriaForJpa.java

Fix invalid sorting in complex mapping scenario.