| Parameter | Description |
|---|---|
| node | The hierarchy node. |
| sortIndex | The sort index. |
Sets the sort index of a hierarchy node.
After setting sort indexes, you must call Hierarchy.SortChildren or Hierarchy.SortChildrenRecursive on the parent node to sort the child nodes.