code: def sort_func(self, key):
          
          if key == self._KEYS.TIME:
              return 'aaa'
          if key == self._KEYS.MODEL:
              return 'zzy'
          if key == self._KEYS.SOURCE:
              return 'zzz'
          return key
docs: Specify order for attributes.