code: def sort_complex0(c, a):
      # this is dumb, because c (i.e., a, are almost sorted)
      # should use the one below instead.
      # this is faster than sort_complex
      import numpy
  
      b = numpy.array(a)
      o = list(reversed(b.argsort()))
      return c[o], list(b[o])
  
file_path: mystic/mystic/scemtools.py
imports: import numpy
label_desc: Use image node_id 5 for calling a global function with example usage: sort_complex0(c, a) and returns: c,  list