---
title: SortOrder.reverse
framework: foundation
role: symbol
role_heading: Case
path: foundation/sortorder/reverse
---

# SortOrder.reverse

The ordering that places the first item after the second when comparing two items using an ascending order.

## Declaration

```swift
case reverse
```

## Discussion

Discussion The ordering places the first item after the second when a ComparisonResult of two items is ComparisonResult.orderedAscending.

## See Also

### Using Sort Orders

- [SortOrder.forward](foundation/sortorder/forward.md)
