Sort lines.