---
title: orderedDocuments
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsapplication/ordereddocuments
---

# orderedDocuments

An array of document objects arranged according to the front-to-back ordering of their associated windows.

## Declaration

```swift
var orderedDocuments: [NSDocument] { get }
```

## See Also

### Scripting your app

- [orderedWindows](appkit/nsapplication/orderedwindows.md)
