Bug 211977 [Dialogs] Open Resource does not sort entries correctly
I20071204-1547 I opened the Open Resource dialog and types "plugin.xml". The list of matches contained: plugin.xml - org.eclipse.search.tests plugin.xml - org.eclipse.search The sorter should make sure that shorter entries are shown before longer entries with the same prefix, i.e.: plugin.xml - org.eclipse.search plugin.xml - org.eclipse.search.tests
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/FilteredResourcesSelectionDialog.java
public IWorkingSet getWorkingSet() {
			return resourceWorkingSetFilter.getWorkingSet();
		}
		/**
		 * Sets the active working set.
		 * 
		 * @param workingSet
		 *            the working set the filter should work with
		 */
		public void setWorkingSet(IWorkingSet workingSet) {
			resourceWorkingSetFilter.setWorkingSet(workingSet);
		}
		/*
		 * (non-Javadoc)
		 * 
		 * @see org.eclipse.jface.viewers.ViewerFilter#select(org.eclipse.jface.viewers.Viewer,
		 *      java.lang.Object, java.lang.Object)
		 */
		public boolean select(Viewer viewer, Object parentElement,
				Object element) {
			return resourceWorkingSetFilter.select(viewer, parentElement,
						element);
		}
	}
	/**
	 * ResourceProxyVisitor to visit resource tree and get matched resources.
	 * During visit resources it updates progress monitor and adds matched
	 * resources to ContentProvider instance.
	 */
	private class ResourceProxyVisitor implements IResourceProxyVisitor {