diff --git a/MPF.Library/Utilities/Validators.cs b/MPF.Library/Utilities/Validators.cs index 1608325c..5d9c7f9a 100644 --- a/MPF.Library/Utilities/Validators.cs +++ b/MPF.Library/Utilities/Validators.cs @@ -1049,9 +1049,9 @@ namespace MPF.Utilities // Join the output protections for writing string protections = string.Join(", ", found .Where(kvp => kvp.Value != null && kvp.Value.Any()) - .OrderBy(kvp => kvp.Value) .SelectMany(kvp => kvp.Value) - .Distinct()); + .Distinct() + .OrderBy(p => p)); return (true, protections); } catch (Exception ex)