Sort crew manifest by name and job title (#13212)
resolves https://github.com/space-wizards/space-station-14/issues/12106
This commit is contained in:
@@ -215,6 +215,8 @@ public sealed class CrewManifestSystem : EntitySystem
|
|||||||
entries.Entries.Add(entry);
|
entries.Entries.Add(entry);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
entries.Entries = entries.Entries.OrderBy(e => e.JobTitle).ThenBy(e => e.Name).ToList();
|
||||||
|
|
||||||
if (_cachedEntries.ContainsKey(station))
|
if (_cachedEntries.ContainsKey(station))
|
||||||
{
|
{
|
||||||
_cachedEntries[station] = entries;
|
_cachedEntries[station] = entries;
|
||||||
|
|||||||
Reference in New Issue
Block a user