Contents

sortDescriptors

An array of sort descriptors that specify the order of the results returned by this query.

Declaration

var sortDescriptors: [NSSortDescriptor]? { get }

Discussion

This property contains the value passed to the init(documentType:predicate:limit:sortDescriptors:includeDocumentData:resultsHandler:) method’s sortDescriptors parameter.

See Also

Accessing the Document Query’s Properties