List<ArrangementSettingsToken> (@NotNull Collection<? extends ArrangementSettingsToken> tokens) { List<ArrangementSettingsToken> result = new ArrayList<>(tokens); result.sort(myComparator); return result; }