Bug 126184 [misc] Outline of binary type does not show children in source order
I20060131-1200 The Outline of a binary type with source attachment always shows the type's children in fields/methods/types order. I would expect them to be in source declaration order if the outline is not in alphabetic mode. Unfortunately, IType#getChildren() makes no guarantees about the order. To fix this problem, either the outline would have to sort the children manually by source position, or jdt.core would have to provide them in source order.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
private boolean fTopLevelTypeOnly;
	private IJavaElement fInput;
	private String fContextMenuID;
	private Menu fMenu;
	private JavaOutlineViewer fOutlineViewer;
	private JavaEditor fEditor;
	private MemberFilterActionGroup fMemberFilterActionGroup;
	private ListenerList fSelectionChangedListeners= new ListenerList(ListenerList.IDENTITY);
	private ListenerList fPostSelectionChangedListeners= new ListenerList(ListenerList.IDENTITY);
	private Hashtable fActions= new Hashtable();
	private TogglePresentationAction fTogglePresentation;
	private ToggleLinkingAction fToggleLinkingAction;
	private CompositeActionGroup fActionGroups;
	private IPropertyChangeListener fPropertyChangeListener;
	/**
	 * Custom filter action group.
	 * @since 3.0
	 */
	private CustomFiltersActionGroup fCustomFiltersActionGroup;
	public JavaOutlinePage(String contextMenuID, JavaEditor editor) {
		super();
		Assert.isNotNull(editor);
		fContextMenuID= contextMenuID;
		fEditor= editor;
		fTogglePresentation= new TogglePresentationAction();
		fTogglePresentation.setEditor(editor);
		fPropertyChangeListener= new IPropertyChangeListener() {
			public void propertyChange(PropertyChangeEvent event) {
				doPropertyChange(event);
			}