Instance Method

sortUsingComparator:

Sorts the mutable ordered set using the comparison method specified by the comparator block.

Declaration

- (void)sortUsingComparator:(NSComparator)cmptr;

Parameters

cmptr

A comparator block.

See Also

Sorting Entries

- sortUsingDescriptors:

Sorts the receiving ordered set using a given array of sort descriptors.

- sortWithOptions:usingComparator:

Sorts the mutable ordered set using the specified options and the comparison method specified by a given comparator block.

- sortRange:options:usingComparator:

Sorts the specified range of the mutable ordered set using the specified options and the comparison method specified by a given comparator block.