diff --git a/Elwig/Helpers/Config.cs b/Elwig/Helpers/Config.cs index aeae8f6..1c823c4 100644 --- a/Elwig/Helpers/Config.cs +++ b/Elwig/Helpers/Config.cs @@ -87,7 +87,7 @@ namespace Elwig.Helpers { SmtpPassword = config["smtp:password"]; SmtpFrom = config["smtp:from"]; - var scales = config.AsEnumerable().Where(i => i.Key.StartsWith("scale.")).GroupBy(i => i.Key.Split(':')[0][6..]).Select(i => i.Key); + var scales = config.AsEnumerable().Where(i => i.Key.StartsWith("scale.")).GroupBy(i => i.Key.Split(':')[0][6..]).Select(i => i.Key).Order(); ScaleList.Clear(); Scales = ScaleList; foreach (var s in scales) {