Plugin Hub: Sort plugins by display name

This commit is contained in:
loldudester
2020-02-27 04:08:39 +00:00
parent 98aa9fb7d7
commit fdd75b1296

View File

@@ -543,7 +543,7 @@ class PluginHubPanel extends PluginPanel
else
{
stream = stream
.sorted(Comparator.comparing(PluginItem::isInstalled));
.sorted(Comparator.comparing(PluginItem::isInstalled).thenComparing(p -> p.manifest.getDisplayName()));
}
stream.forEach(mainPanel::add);