Bug 44891 Search view hanging while resorting search matches
Build 3.0 M4 Search all references to type String in self-hosted workspace. Finds almost 80.000 of them. Now sort them by parent name... it will take minutes to recover, while it works UI is entirely non responsive.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/PathNameSorter.java
String name1= null;
		String name2= null;
		ISearchResultViewEntry entry1= null;
		ISearchResultViewEntry entry2= null;
		if (e1 instanceof ISearchResultViewEntry) {
			entry1= (ISearchResultViewEntry)e1;
			name1= fLabelProvider.getText(e1);
		}
		if (e2 instanceof ISearchResultViewEntry) {
			entry2= (ISearchResultViewEntry)e2;
			name2= fLabelProvider.getText(e2);
		}
		if (name1 == null)
			name1= ""; 
		if (name2 == null)
			name2= ""; 
			
		IResource resource= null;
		if (entry1 != null)
			resource= entry1.getResource();
		if (resource != null && entry2 != null && resource == entry2.getResource()) {
			if (resource instanceof IProject || resource.getFileExtension().equalsIgnoreCase("jar") || resource.getFileExtension().equalsIgnoreCase("zip")) 
				
				return getCollator().compare(name1, name2);
						
			int startPos1= -1;
			int startPos2= -1;
			IMarker marker1= entry1.getSelectedMarker();
			IMarker marker2= entry2.getSelectedMarker();
			if (marker1 != null)