orderedIndex
The zero-based position of the window, based on its order from front to back among all visible application windows.
Declaration
var orderedIndex: Int { get set }Discussion
If you set this property to an index that’s out of range, the system sets the position to the nearest value that’s in range.