code: def reordd(iorder, ndim, array):
      
      iorder = stypes.toIntVector(iorder)
      ndim = ctypes.c_int(ndim)
      array = stypes.toDoubleVector(array)
      libspice.reordd_c(iorder, ndim, array)
      return stypes.cVectorToPython(array)
docs: Re-order the elements of a double precision array according to
      a given order vector.
  
      http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/reordd_c.html
  
      :param iorder: Order vector to be used to re-order array.
      :type iorder: Array of ints
      :param ndim: Dimension of array.
      :type ndim: int
      :param array: Array to be re-ordered.
      :type array: Array of floats
      :return: Re-ordered Array.
      :rtype: Array of floats