LookupService: Ensure correct ordering of lines.