From 982624f0dd94472f987dc56cbbb6422e6c277f38 Mon Sep 17 00:00:00 2001 From: DrSmugleaf <10968691+DrSmugleaf@users.noreply.github.com> Date: Sun, 12 Oct 2025 03:54:37 -0700 Subject: [PATCH] Fix species not being ordered alphabetically in the character customization UI (#39359) * Fix species not being ordered alphabetically in the character customization UI * Update Content.Client/Lobby/UI/HumanoidProfileEditor.xaml.cs --------- Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> --- Content.Client/Lobby/UI/HumanoidProfileEditor.xaml.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml.cs b/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml.cs index 821722ec35..b568491b67 100644 --- a/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml.cs +++ b/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml.cs @@ -607,6 +607,7 @@ namespace Content.Client.Lobby.UI _species.Clear(); _species.AddRange(_prototypeManager.EnumeratePrototypes().Where(o => o.RoundStart)); + _species.Sort((a, b) => string.Compare(a.Name, b.Name, StringComparison.CurrentCultureIgnoreCase)); var speciesIds = _species.Select(o => o.ID).ToList(); for (var i = 0; i < _species.Count; i++)