Add functions to inverse/swap comparison operators