@spiceErrorCheck<EOL>def reordc(iorder, ndim, lenvals, array):
iorder = stypes.toIntVector(iorder)<EOL>ndim = ctypes.c_int(ndim)<EOL>lenvals = ctypes.c_int(lenvals + <NUM_LIT:1>)<EOL>array = stypes.listToCharArray(array, xLen=lenvals, yLen=ndim)<EOL>libspice.reordc_c(iorder, ndim, lenvals, array)<EOL>return [stypes.toPythonString(x.value) for x in array]<EOL>
Re-order the elements of an array of character strings
according to a given order vector.

http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/reordc_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 lenvals: String length.
:type lenvals: int
:param array: Array to be re-ordered.
:type array: Array of strs
:return: Re-ordered Array.
:rtype: Array of strs