bracket function

Identify values bracketing another value