From: DrSmugleaf <10968691+DrSmugleaf@users.noreply.github.com> Date: Sun, 12 Oct 2025 10:54:37 +0000 (-0700) Subject: Fix species not being ordered alphabetically in the character customization UI (... X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=982624f0dd94472f987dc56cbbb6422e6c277f38;p=space-station-14.git 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> --- 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++)