Bug 305703 [Viewers][CommonNavigator] remembered contributions can leak when using filters
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
*            Sorted list of elements to add.
	 */
	private void createAddedElements(Widget widget, Object[] elements) {
		if (elements.length == 1) {
			if (equals(elements[0], widget.getData())) {
				return;
			}
		}
		ViewerComparator comparator = getComparator();
		TreePath parentPath = internalGetSorterParentPath(widget, comparator);
		Item[] items = getChildren(widget);
		
		if (items.length == 0) {
			for (int i = 0; i < elements.length; i++) {
				createTreeItem(widget, elements[i], -1);
			}
			return;
		}
		
		if (comparator == null) {
			for (int i = 0; i < elements.length; i++) {
				Object element = elements[i];
				if (itemExists(items, element)) {
					internalRefresh(element);
				} else {
					createTreeItem(widget, element, -1);
				}
			}
			return;
		}