Add custom ordering to ouptuptted xml elements