code: def reorder_list(L, ordering):
      """reorders a list."""
      return reorder_list_or_array(L, ordering)
  
imports: from __future__ import print_function
  from __future__ import division
  import numpy
  from scipy.sparse import dok_matrix
  from scipy.linalg import solve_triangular
label_desc: Use image node_id 21 for calling a global function with example usage: reorder_list(L, ordering) and returns: reorder_list_or_array