Define the process auto sort key from the alert type.

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