---
title: "ReorderDifference.Destination.Position.before(_:)"
framework: swiftui
role: symbol
role_heading: Case
path: "swiftui/reorderdifference/destination-swift.struct/position-swift.enum/before(_:)"
---

# ReorderDifference.Destination.Position.before(_:)

The position of the item with the associated identifier in its collection. Source items should be moved to the index of this item.

## Declaration

```swift
case before(ItemID)
```

## Mentioned in

Reordering items in lists, stacks, grids, and custom layouts

## See Also

### Destination positions

- [ReorderDifference.Destination.Position.end](swiftui/reorderdifference/destination-swift.struct/position-swift.enum/end.md)
