Bug 78003 [navigation] Quick outline is initially to large
Build 20041105 Linux-GTK The Quick outline (ctrl+o in the Java editor) window is enormous on Linux. What have you guys been feeding it? :-)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaOutlineInformationControl.java
super.sort(viewer, elements);
		}
		
		/*
		 * @see org.eclipse.jface.viewers.ViewerSorter#compare(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
		 */
		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 == OTHER) { 
				if (fSortByDefiningTypeAction.isChecked()) {
					try {
						IType def1= (e1 instanceof IMethod) ? getDefiningType((IMethod) e1) : null;
						IType def2= (e2 instanceof IMethod) ? getDefiningType((IMethod) e2) : null;
						if (def1 != null) {
							if (def2 != null) {
								if (!def2.equals(def1)) {
									return compareInHierarchy(getSuperTypeHierarchy(def1), def1, def2);
								}
							} else {
								return -1;						
							}					
						} else {
							if (def2 != null) {
								return 1;
							}	
						}