input xml file is not should be sorted, sorting added