Plugin Hub: Sort plugins by display name
This commit is contained in:
@@ -543,7 +543,7 @@ class PluginHubPanel extends PluginPanel
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
stream = stream
|
stream = stream
|
||||||
.sorted(Comparator.comparing(PluginItem::isInstalled));
|
.sorted(Comparator.comparing(PluginItem::isInstalled).thenComparing(p -> p.manifest.getDisplayName()));
|
||||||
}
|
}
|
||||||
|
|
||||||
stream.forEach(mainPanel::add);
|
stream.forEach(mainPanel::add);
|
||||||
|
|||||||
Reference in New Issue
Block a user