code: def set_process_sort(self, event_type):
          
          if glances_processes.auto_sort:
              glances_processes.sort_key = self.get_event_sort_key(event_type)
docs: Define the process auto sort key from the alert type.