Sort the response dictionaries priority levels for ordered iteration

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