implements less, lessEqual, equal, greater, greaterEqual