sort xml elements as required by oai schema

xml schema validation fails, resorting solves the problem.