The sort descriptors of the fetch request.
- iOS 3.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Data
The sort descriptors specify how the objects returned when the
NSFetch is issued should be ordered—for example, by last name and then by first name. The sort descriptors are applied in the order in which they appear in the
sort array (serially in lowest-array-index-first order).
A value of
nil is treated as no sort descriptors.