Sorted and made lines unique.