# FindObjectsSortMode

> Options to specify if and how to sort objects returned by a function.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

> **Warning:**
>
> **Deprecated.** FindObjectsSortMode has been deprecated. Use the FindObjectsByType overloads that do not take a FindObjectsSortMode parameter.

```csharp
public enum FindObjectsSortMode
```

## Fields

| Value                                                                                       | Description                                        |
| ------------------------------------------------------------------------------------------- | -------------------------------------------------- |
| [InstanceID](/engine/6000.7/script-reference/unityengine/findobjectssortmode/instanceid.md) | Sort the objects by InstanceID in ascending order. |
| [None](/engine/6000.7/script-reference/unityengine/findobjectssortmode/none.md)             | Don't sort the objects.                            |
