Reorder the tags of xml file