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

# SortOrder.forward

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

## Declaration

```swift
case forward
```

## Discussion

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

## See Also

### Using Sort Orders

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