---
title: stable
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nssortoptions/stable
---

# stable

Specifies that the sorted results should return compared items having equal value in the order they occurred originally.

## Declaration

```swift
static var stable: NSSortOptions { get }
```

## Discussion

Discussion If this option is unspecified, equal objects may, or may not be returned in their original order.

## See Also

### Constants

- [concurrent](foundation/nssortoptions/concurrent.md)
