Overrides sort func to use the KeyValue for the key.

def sort(self, cmp=None, key=None, reverse=False):
        """Overrides sort func to use the KeyValue for the key."""
        if not key and self._keys:
            key = self.KeyValue
        super(CliTable, self).sort(cmp=cmp, key=key, reverse=reverse)