Enumeration

ComparisonResult

Constants that indicate sort order.

Overview

These constants are used to indicate how items in a request are ordered, from the first one given in a method invocation or function call to the last (that is, left to right in code).

Topics

Constants

case orderedAscending

The left operand is smaller than the right operand.

case orderedSame

The two operands are equal.

case orderedDescending

The left operand is greater than the right operand.

See Also

Sorting

class NSSortDescriptor

An immutable description of how to order a collection of objects based on a property common to all the objects.