diff --git a/lib/ui/widgets/patcherView/patch_selector_card.dart b/lib/ui/widgets/patcherView/patch_selector_card.dart index 1b8265de..67d132a2 100644 --- a/lib/ui/widgets/patcherView/patch_selector_card.dart +++ b/lib/ui/widgets/patcherView/patch_selector_card.dart @@ -58,7 +58,9 @@ class PatchSelectorCard extends StatelessWidget { String _getPatchesSelection() { String text = ''; - for (final Patch p in locator().selectedPatches) { + final List selectedPatches = locator().selectedPatches; + selectedPatches.sort((a, b) => a.name.compareTo(b.name)); + for (final Patch p in selectedPatches) { text += '\u2022 ${p.getSimpleName()}\n'; } return text.substring(0, text.length - 1);