pymel.core.language.sortCaseInsensitive

sortCaseInsensitive(*args, **kwargs)

This command sorts all the strings of an array in a case insensitive way.

Derived from mel command maya.cmds.sortCaseInsensitive

Example:

::

import pymel.core as pm

pm.sortCaseInsensitive( stringArray ); # Returns the sorted string from stringArray