Added implementation for additional comparison operators

operators ">, >=, <, <=" only support numeric comparison.