From 70985cf66520f34e123c437fb99315b2df87b2b8 Mon Sep 17 00:00:00 2001 From: Tim Pilius Date: Thu, 22 Aug 2024 18:33:39 -0400 Subject: [PATCH] Fixing sorting --- EpicPrefill/Handlers/EpicGamesApi.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EpicPrefill/Handlers/EpicGamesApi.cs b/EpicPrefill/Handlers/EpicGamesApi.cs index 1ef3e6d..5695fe6 100644 --- a/EpicPrefill/Handlers/EpicGamesApi.cs +++ b/EpicPrefill/Handlers/EpicGamesApi.cs @@ -53,7 +53,7 @@ internal async Task> GetOwnedAppsAsync() } _ansiConsole.LogMarkupLine($"Retrieved {Magenta(filteredApps.Count)} owned apps", timer); - return filteredApps; + return filteredApps.OrderBy(e => e.Title, StringComparer.OrdinalIgnoreCase).ToList(); } //TODO comment