Documented XML format of sorting spec