<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(self):
 """ Sort the response dictionaries priority levels for ordered iteration """

        self._log.debug('Sorting responses by priority')
        self._responses = OrderedDict(sorted(list(self._responses.items()), reverse=True))
        self.sorted = True