Use compareTo for consistency.