merge_xml: fix duplicates, sort.py no longer required for duplicates