Documented sorting XML format