code: def get_event_sort_key(self, event_type):
          
          # Process sort depending on alert type
          if event_type.startswith("MEM"):
              # Sort TOP process by memory_percent
              ret = 'memory_percent'
          elif event_type.startswith("CPU_IOWAIT"):
              # Sort TOP process by io_counters (only for Linux OS)
              ret = 'io_counters'
          else:
              # Default sort is...
              ret = 'cpu_percent'
          return ret
docs: Return the process sort key