Improved binary comparison operators to apply to all attributes in multi-attribute array