Summary
Sorts the
Weaver.Editor.Procedural.Scripting.IElementBuilderGroup.Elements list using the specified `comparison` and maintaining
the order of any elements with an identical comparison (unlike the standard
System.Collections.Generic.List`1.Sort(System.Comparison{`0}) method).
This method is also called recursively for any nested groups.
- Assembly
- Weaver
.dll - Namespace
- Weaver
.Editor .Procedural .Scripting - Containing Type
- Element
Builder Group Extensions
Syntax
public static void SortElements(this IElementBuilderGroup group, Comparison<ElementBuilder> comparison)
Parameters
| Name | Type | Description |
|---|---|---|
| group | IElementBuilderGroup | |
| comparison | Comparison |
Return Value
| Type | Description |
|---|---|
| void |