# CategorizationExtensions

> Provides helper methods to categorize and sort a list of ICategorizable elements into hierarchical categories and leaves based on custom attributes.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor.Categorization](/engine/6000.6/script-reference/unityeditor/categorization.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static class CategorizationExtensions
```

## Static Methods

| Method                                                                                                                  | Description                                                                  |
| ----------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| [SortByCategory](/engine/6000.6/script-reference/unityeditor/categorization/categorizationextensions/sortbycategory.md) | Sorts a flat list of elements into a hierarchy of categories and leaf nodes. |
