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

Synopsis

sortCaseInsensitive

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

MEL examples

$stringToSort = {"bcd", "Def", "abC"};
$sortedString = `sortCaseInsensitive $stringToSort`;
// Result : "abC", "bcd", "Def"