<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ReorderDifference/Destination-swift.struct/Position-swift.enum/before(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI17ReorderDifferenceV11DestinationV8PositionO6beforeyAGyxq___GxcAImr0_lF"
  },
  "title" : "ReorderDifference.Destination.Position.before(_:)"
}
-->

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

The position of the item with the associated identifier in its
collection. Move source items to the index of this item.

```
case before(ItemID)
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)