Duplicates now sorted.