List sorting is working
List merging is working
XML structure working
Fix loop logic in list merging