---
title: Sorting
framework: Compute Graph
role: symbol
role_heading: Enumeration
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: computegraph/sorting
---

# Sorting

An enumeration of sorting modes.

## Declaration

```swift
enum Sorting
```

## Topics

### Enumeration Cases

- [Sorting.age](computegraph/sorting/age.md)
- [Sorting.backToFront](computegraph/sorting/backtofront.md)
- [Sorting.frontToBack](computegraph/sorting/fronttoback.md)
- [Sorting.none](computegraph/sorting/none.md)
- [Sorting.timeToLive](computegraph/sorting/timetolive.md)

## Relationships

### Conforms To

- [CaseIterable](swift/caseiterable.md)
- [Copyable](swift/copyable.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Elements and particles

- [ElementGrouping](computegraph/elementgrouping.md)
- [ElementSpawnParameters](computegraph/elementspawnparameters.md)
