---
title: automaticRearrangementKeyPaths
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsarraycontroller/automaticrearrangementkeypaths
---

# automaticRearrangementKeyPaths

An array of key paths that trigger automatic content sorting or filtering

## Declaration

```swift
var automaticRearrangementKeyPaths: [String]? { get }
```

## Discussion

Discussion Subclasses can override this property to customize the default behavior of the sort descriptors and filtering predicates, for example, if additional arrangement criteria are used in a custom implementation of arrangedObjects.

## See Also

### Automatic Content Rearranging

- [automaticallyRearrangesObjects](appkit/nsarraycontroller/automaticallyrearrangesobjects.md)
- [didChangeArrangementCriteria()](appkit/nsarraycontroller/didchangearrangementcriteria().md)
