Bug 44443 [Tasks] Problems View should 'filter' more efficiently
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/TableSortDialog.java
return;
						String oldSelection = (String) oldSelectionList.get(0);
						String newSelection = priorityCombos[index].getItem(priorityCombos[index].getSelectionIndex());
						if (oldSelection.equals(newSelection)) {
							return;
						}
						for (int j = index + 1; j < priorityCombos.length; j++) {
							int newSelectionIndex = priorityCombos[j].indexOf(newSelection);
							
							if (priorityCombos[j].getSelectionIndex() == newSelectionIndex) {
								priorityCombos[j].remove(newSelection);
								int insertionPoint = -1 - Arrays.binarySearch(priorityCombos[j].getItems(), oldSelection, columnComparator);
								if (insertionPoint >= 0 && insertionPoint <= priorityCombos[j].getItemCount())
									priorityCombos[j].add(oldSelection, insertionPoint);
								else
									priorityCombos[j].add(oldSelection);
								priorityCombos[j].select(priorityCombos[j].indexOf(oldSelection));
								ascendingButtons[index].setSelection(ascendingButtons[j].getSelection());
								descendingButtons[index].setSelection(descendingButtons[j].getSelection());
								ascendingButtons[j].setSelection(oldSelectionDirection == TableSorter.ASCENDING);
								descendingButtons[j].setSelection(oldSelectionDirection == TableSorter.DESCENDING);
							}
							
							else if (newSelectionIndex >= 0) {
								priorityCombos[j].remove(newSelection);
								int insertionPoint = -1 - Arrays.binarySearch(priorityCombos[j].getItems(), oldSelection, columnComparator);
								if (insertionPoint >= 0 && insertionPoint <= priorityCombos[j].getItemCount())
									priorityCombos[j].add(oldSelection, insertionPoint);
								else
									priorityCombos[j].add(oldSelection);