diff --git a/Content.Client/Construction/UI/ConstructionMenuPresenter.cs b/Content.Client/Construction/UI/ConstructionMenuPresenter.cs index bea5d32763..d7d899fbfe 100644 --- a/Content.Client/Construction/UI/ConstructionMenuPresenter.cs +++ b/Content.Client/Construction/UI/ConstructionMenuPresenter.cs @@ -155,6 +155,7 @@ namespace Content.Client.Construction.UI var recipesList = _constructionView.Recipes; recipesList.Clear(); + var recipes = new List(); foreach (var recipe in _prototypeManager.EnumeratePrototypes()) { @@ -170,6 +171,13 @@ namespace Content.Client.Construction.UI continue; } + recipes.Add(recipe); + } + + recipes.Sort((a, b) => string.Compare(a.Name, b.Name, StringComparison.InvariantCulture)); + + foreach (var recipe in recipes) + { recipesList.Add(GetItem(recipe, recipesList)); }