diff --git a/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/wizards/security/SecurityTaxonomyPage.java b/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/wizards/security/SecurityTaxonomyPage.java index 603b73bc48..b748d2c960 100644 --- a/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/wizards/security/SecurityTaxonomyPage.java +++ b/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/wizards/security/SecurityTaxonomyPage.java @@ -219,6 +219,9 @@ private void addBlock(final Composite taxonomyPicker, final TaxonomyDesignation final List> weightObservables = new ArrayList<>(); final List> classificationObservables = new ArrayList<>(); + designation.getLinks().sort( + (firstLink, secondLink) -> Integer.compare(secondLink.getWeight(), firstLink.getWeight())); + if (designation.getLinks().size() == 1 && designation.getLinks().get(0).getWeight() == Classification.ONE_HUNDRED_PERCENT) {