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
StatusManager.getManager().handle(
						new Status(IStatus.ERROR, WorkbenchPlugin.PI_WORKBENCH,
								IStatus.ERROR, "", e)); 
				
			}
		}
		addListFilter(workingSetFilter);
		applyFilter();
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.ui.dialogs.FilteredItemsSelectionDialog#fillViewMenu(org.eclipse.jface.action.IMenuManager)
	 */
	protected void fillViewMenu(IMenuManager menuManager) {
		super.fillViewMenu(menuManager);
		showDerivedResourcesAction = new ShowDerivedResourcesAction();
		menuManager.add(showDerivedResourcesAction);
		workingSetFilterActionGroup = new WorkingSetFilterActionGroup(
				getShell(), new IPropertyChangeListener() {
					public void propertyChange(PropertyChangeEvent event) {
						String property = event.getProperty();
						if (WorkingSetFilterActionGroup.CHANGE_WORKING_SET
								.equals(property)) {
							IWorkingSet workingSet = (IWorkingSet) event
									.getNewValue();
							if (workingSet != null
									&& !(workingSet.isAggregateWorkingSet() && workingSet
											.isEmpty())) {
								workingSetFilter.setWorkingSet(workingSet);