# GetSortingOrder(AnimationPlayableOutput)

> Gets the priority index of 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 ushort GetSortingOrder(this AnimationPlayableOutput output)
```

### 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.

### Returns

| Type                                                           | Description                              |
| -------------------------------------------------------------- | ---------------------------------------- |
| [ushort](https://learn.microsoft.com/dotnet/api/system.uint16) | Returns the sorting order of the output. |

### Remarks

Default sorting order is set to 100.
