From e9bb1d52a72b20a58d1a672ecfa3797eda6f081a Mon Sep 17 00:00:00 2001 From: Bogdan Date: Sat, 21 Oct 2023 10:06:22 +0300 Subject: [PATCH] Sort Custom Formats by name --- .../CustomFormats/CustomFormatCalculationService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/CustomFormats/CustomFormatCalculationService.cs b/src/NzbDrone.Core/CustomFormats/CustomFormatCalculationService.cs index 18adc70cd..e344c355f 100644 --- a/src/NzbDrone.Core/CustomFormats/CustomFormatCalculationService.cs +++ b/src/NzbDrone.Core/CustomFormats/CustomFormatCalculationService.cs @@ -150,7 +150,7 @@ private static List ParseCustomFormat(CustomFormatInput input, Lis } } - return matches; + return matches.OrderBy(x => x.Name).ToList(); } private static List ParseCustomFormat(EpisodeFile episodeFile, Series series, List allCustomFormats)