diff --git a/Source/Editor/Windows/ToolboxWindow.cs b/Source/Editor/Windows/ToolboxWindow.cs index 020aa53b1..160084dd2 100644 --- a/Source/Editor/Windows/ToolboxWindow.cs +++ b/Source/Editor/Windows/ToolboxWindow.cs @@ -455,10 +455,10 @@ namespace FlaxEditor.Windows var item = CreateControlItem(Utilities.Utils.GetPropertyNameUI(controlType.Name), controlType); SearchFilterHighlights(item, text, ranges); } - } + } - if (string.IsNullOrEmpty(filterText)) - _groupSearch.SortChildren(); + // Sort the search results alphabetically + _groupSearch.SortChildren(); _groupSearch.UnlockChildrenRecursive(); PerformLayout();