Modified opCmp

The initial implementation of opCmp allows any object can be used as a key of associative array, include Variant.