---
title: sortDescriptors
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsarraycontroller/sortdescriptors
---

# sortDescriptors

An array of sort descriptor objects, used by the receiver to arrange its content.

## Declaration

```swift
var sortDescriptors: [NSSortDescriptor] { get set }
```

## Discussion

Discussion This property is observable using key-value observing.

## See Also

### Related Documentation

- [Cocoa Bindings](appkit/cocoa-bindings.md)
- [NSPredicate](foundation/nspredicate.md)
- [Core Data](coredata.md)
