---
title: PHPickerConfiguration.Selection.ordered
framework: photosui
role: symbol
role_heading: Case
path: photosui/phpickerconfiguration-swift.struct/selection-swift.enum/ordered
---

# PHPickerConfiguration.Selection.ordered

An option that provides selected photos to the app in the chosen order after the user confirms the selection.

## Declaration

```swift
case ordered
```

## Discussion

Discussion This option notifies the app of photo selections when a person taps the Add button. In addition, selected photos display a numbered badge that represents the order in which someone taps the photo.

## See Also

### Selection methods

- [PHPickerConfiguration.Selection.default](photosui/phpickerconfiguration-swift.struct/selection-swift.enum/default.md)
- [PHPickerConfiguration.Selection.continuous](photosui/phpickerconfiguration-swift.struct/selection-swift.enum/continuous.md)
- [PHPickerConfiguration.Selection.continuousAndOrdered](photosui/phpickerconfiguration-swift.struct/selection-swift.enum/continuousandordered.md)
