From 1b3070493c4ff5f55cb033fef4108c4e1eb8cd16 Mon Sep 17 00:00:00 2001 From: Pilzinsel64 Date: Tue, 28 Jan 2025 20:46:47 +0100 Subject: [PATCH] order by name --- ModpackUpdater.Apps.Manager/Features/SharedFunctions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ModpackUpdater.Apps.Manager/Features/SharedFunctions.cs b/ModpackUpdater.Apps.Manager/Features/SharedFunctions.cs index c968861..d1981e8 100644 --- a/ModpackUpdater.Apps.Manager/Features/SharedFunctions.cs +++ b/ModpackUpdater.Apps.Manager/Features/SharedFunctions.cs @@ -230,7 +230,7 @@ internal static class SharedFunctions cc = 1; // Rows - foreach (var action in installInfos.Actions) + foreach (var action in installInfos.Actions.OrderBy(n => n.Name)) { if (action.IsExtra || action.IsZip || string.IsNullOrWhiteSpace(action.Id) || !action.Id.StartsWith("mod:")) continue; @@ -257,7 +257,7 @@ internal static class SharedFunctions // Styling cc = 1; ws.Column(cc++).Width = 30; - ws.Column(cc++).Width = 15; + ws.Column(cc++).Width = 20; ws.Column(cc++).Width = 10; ws.Column(cc++).Width = 20; ws.Column(cc++).Width = 20;