<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSSortOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@E@NSSortOptions"
  },
  "title" : "NSSortOptions"
}
-->

# NSSortOptions

Options for block sorting operations.

```
struct NSSortOptions
```

## Topics

### Constants

[`concurrent`](/documentation/Foundation/NSSortOptions/concurrent)

Specifies that the Block sort operation should be concurrent.

[`stable`](/documentation/Foundation/NSSortOptions/stable)

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



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)
