Bug 43868 Anonymous classes do not sort properly in Hierarchy view [type hierarchy] [render]
build I20030925 - open hierarchy on ViewerSorter - there are lots of "Anonymous of ViewerSorter" entries sprinkled throughout the otherwise sorted list
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementSorter.java
return RESOURCEFOLDERS;
		} else if (element instanceof IStorage) {
			return STORAGE;
		} else if (element instanceof ClassPathContainer) {
			return PACKAGEFRAGMENTROOTS;
		}
		return OTHERS;
	}
	
	private int getMemberCategory(int kind) {
		int offset= JavaPlugin.getDefault().getMemberOrderPreferenceCache().getIndex(kind);
		return offset + MEMBERSOFFSET;
	}		
	/*
	 * @see ViewerSorter#compare
	 */
	public int compare(Viewer viewer, Object e1, Object e2) {
		int cat1= category(e1);
		int cat2= category(e2);
		if (cat1 != cat2)
			return cat1 - cat2;
		
		if (cat1 == PROJECTS) {
			IWorkbenchAdapter a1= (IWorkbenchAdapter)((IAdaptable)e1).getAdapter(IWorkbenchAdapter.class);
			IWorkbenchAdapter a2= (IWorkbenchAdapter)((IAdaptable)e2).getAdapter(IWorkbenchAdapter.class);
				return getCollator().compare(a1.getLabel(e1), a2.getLabel(e2));
		}
			
		if (cat1 == PACKAGEFRAGMENTROOTS) {
			IPackageFragmentRoot root1= getPackageFragmentRoot(e1);