Bug 58800 NLS Search: should support search again
20040413 - do a NLS search (I got an unused key entry) - do a searh again observe: the unused key entry is doubled.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ParentNameSorter.java
/*
	 * Overrides method from ViewerSorter
	 */
	public int compare(Viewer viewer, Object e1, Object e2) {
		String name1= null;
		String name2= null;
		
		if (e1 instanceof ISearchResultViewEntry)
			name1= getLabel(e1);
		if (e2 instanceof ISearchResultViewEntry)
			name2= getLabel(e2);
		if (name1 == null)
			name1= ""; 
		if (name2 == null)
			name2= ""; 
		return getCollator().compare(name1, name2);
	}
	protected int getSortOrder() {
		return JavaSearchResultLabelProvider.SHOW_CONTAINER_ELEMENT;
	}
}