Implement greater/lessThan