# GetSortingOrder()

> Gets the priority index of the specified AnimationPlayableOutput.

## Definition

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

```csharp
public ushort GetSortingOrder()
```

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