diff --git a/Wox.Core/Plugin/PluginManager.cs b/Wox.Core/Plugin/PluginManager.cs index dcb455c703..e8c942f950 100644 --- a/Wox.Core/Plugin/PluginManager.cs +++ b/Wox.Core/Plugin/PluginManager.cs @@ -109,7 +109,7 @@ namespace Wox.Core.Plugin { get { - return plugins; + return plugins.OrderBy(o => o.Metadata.Name).ToList(); } } diff --git a/Wox.Core/Theme/Theme.cs b/Wox.Core/Theme/Theme.cs index 78bea898d5..b20e95cdd0 100644 --- a/Wox.Core/Theme/Theme.cs +++ b/Wox.Core/Theme/Theme.cs @@ -102,7 +102,7 @@ namespace Wox.Core.Theme .Where(filePath => filePath.EndsWith(".xaml") && !filePath.EndsWith("Base.xaml")) .ToList()); } - return themes; + return themes.OrderBy(o => o).ToList(); } private string GetThemePath(string themeName)