def sort_name(self):
        """ Get the sorting name of this category """
        if self._record and self._record.sort_name:
            return self._record.sort_name
        return self.name
def sort_name ( self ) : if self . _record and self . _record . sort_name : return self . _record . sort_name return self . name
Get the sorting name of this category