Implement SlopeOrder Comparator.