Instance Method

sortUsingDescriptors:

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

Declaration

- (void)sortUsingDescriptors:(NSArray<NSSortDescriptor *> *)sortDescriptors;

Parameters

sortDescriptors

An array containing the NSSortDescriptor objects to use to sort the receiving ordered set’s contents.

Discussion

See NSSortDescriptor for additional information.

See Also

Sorting Entries

- sortUsingComparator:

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

- 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.