<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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