code: def cmpr(self, val1, name, val2):
          '''
          Compare the two values using the given type specific comparator.
          '''
          ctor = self.getCmprCtor(name)
          if ctor is None:
              raise s_exc.NoSuchCmpr(cmpr=name, name=self.name)
  
          norm1 = self.norm(val1)[0]
          norm2 = self.norm(val2)[0]
  
          return ctor(norm2)(norm1f cmpr(self, val1, name, val2):
          '''
          Compare the two values using the given type specific comparator.
          '''
          ctor = self.getCmprCtor(name)
          if ctor is None:
              raise s_exc.NoSuchCmpr(cmpr=name, name=self.name)
  
          norm1 = self.norm(val1)[0]
          norm2 = self.norm(val2)[0]
  
          return ctor(norm2)(norm1)
docs: Compare the two values using the given type specific comparator.