# Vector4.Sort

```csharp
static void Sort(ref Vector4 min, ref Vector4 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, z and w values.

### Parameters

- `ref min` (`Vector4`)
- `ref max` (`Vector4`)

Declared in [Vector4](/api/Vector4).
Assembly: `Sandbox.System`.
