Ord and Eq for Line.