'Define the process auto sort key from the alert type.'

def set_process_sort(self, item_type):

    glances_processes.auto_sort = True
    glances_processes.sort_key = self.get_process_sort_key(item_type)
