@spiceErrorCheck<EOL>def shellc(ndim, lenvals, array):<EOL>
array = stypes.listToCharArray(array, xLen=lenvals, yLen=ndim)<EOL>ndim = ctypes.c_int(ndim)<EOL>lenvals = ctypes.c_int(lenvals)<EOL>libspice.shellc_c(ndim, lenvals, ctypes.byref(array))<EOL>return stypes.cVectorToPython(array)<EOL>
Sort an array of character strings according to the ASCII
collating sequence using the Shell Sort algorithm.

http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/shellc_c.html

:param ndim: Dimension of the array.
:type ndim: int
:param lenvals: String length.
:type lenvals: int
:param array: The array to be sorted.
:type array: list of str.
:return: The sorted array.
:rtype: list of str.