code: def sort_complex(c, a):
      # this is dumb, because c (i.e., a, are almost sorted)
      # should use the one below instead.
      import numpy
  
      D = list(zip(a, c))
      D.sort(key=lambda x: x[0], reverse=True)
      return numpy.array([x[1] for x in D]), [x[0] for x in D]
  
file_path: mystic/mystic/scemtools.py
imports: import numpy
label_desc: Use image node_id 6 for calling a global function with example usage: sort_complex(c, a) and returns: numpy,  unknown