# SetSortingOrder(AnimationPlayableOutput, ushort)

> Sets the sorting order for the specified AnimationPlayableOutput.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Experimental.Animations](/engine/6000.5/script-reference/unityengine/experimental/animations.md)
* **Assembly:** UnityEngine.AnimationModule

```csharp
public static void SetSortingOrder(this AnimationPlayableOutput output, ushort sortingOrder)
```

### Parameters

**** (\[AnimationPlayableOutput]\(/engine/6000.5/script-reference/unityengine/animations/animationplayableoutput)): The [AnimationPlayableOutput](/engine/6000.5/script-reference/unityengine/animations/animationplayableoutput.md) instance that calls this method.**** (\[ushort]\(https\://learn.microsoft.com/dotnet/api/system.uint16)): The sorting order to apply to this output.
