Use N1QL total ordering for comparison operators.