void (@NotNull final AnActionEvent e, final boolean state) { mySortedByOverriding = state; if (state) { if (myMerge) { myMergeAction.setSelected(e, false); } disableAlphabeticalSorting(e); final PsiMethodWithOverridingPercentMember[] elementsWithPercent = myLazyElementsWithPercent.getValue(); resetElements(elementsWithPercent, PsiMethodWithOverridingPercentMember.COMPARATOR, false); } else { final PsiMethodMember[] elementsToRender = myMerge ? myAllElements : myOnlyPrimaryElements; resetElementsWithDefaultComparator(elementsToRender); } }