order by group order in exported xml