Go to: Synopsis. Return value. Keywords. Python examples.

Synopsis

sortCaseInsensitive()

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

sortCaseInsensitive is NOT undoable, NOT queryable, and NOT editable.

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

Return value

string[]string to sort

Keywords

sort, case, insensitive

Python examples

import maya.cmds as cmds

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