added sort by and sort order to Relation Criteria