Compare order

Found that the __toString for the compare would say 'foo > bar'  but do 'bar > foo'

Added a test for it and a code correction.