# Vector3.Sort

```csharp
static void Sort(ref Vector3 min, ref Vector3 max)
```

Sort these two vectors into min and max. This doesn't just swap the vectors, it sorts each component.
So that min will come out containing the minimum x, y and z values.

### Parameters

- `ref min` (`Vector3`)
- `ref max` (`Vector3`)

Declared in [Vector3](/api/Vector3).
Assembly: `Sandbox.System`.
