docstr: :param scores: List of model-score dictionaries
  :param indices:
  :return:
docstr_tok: [":","param","scores",":","List","of","model-score","dictionaries",":","param","indices",":",":","return",":"]
code: def sort(cls, scores: List[Dict[str, float]], indices: List[int]):
      """
      :param scores: List of model-score dictionaries
      :param indices:
      :return:
      """
      avg_scores = [np.mean(list(s.values())) for s in scores]
      sorted_indices = np.argsort(avg_scores)
      return [indices[i] for i in sorted_indices]
  
file_path: vizseq/vizseq/_view/data_sorters.py
imports: from typing import List, Dict
  from enum import Enum
  import numpy
label_desc: Use image node_id 1 for calling the VizSeqByMetricSorter obj's underlying member method code with example usage: obj.sort(cls, scores, indices) and returns: unknown