Use CS chained comparisons.