criteria in valueFunctions.xml are not sorted as in criteria.xml
The order that should be used in the output is the one in criteria.xml
