Bug 60117 [Viewers] Need a DeferredTableContentProvider
eclipse-SDK-I20040427-win32.zip 1. Perform a search & display the results with the flat layout 2. Now sort the results by 'Parent Name'... notice the type names do not come first 2. Switch to the hierarchical layout, then back to the flat - now the type names are first
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultPage.java
private static final String KEY_GROUPING= "org.eclipse.jdt.search.resultpage.grouping"; 
	private static final String KEY_SORTING= "org.eclipse.jdt.search.resultpage.sorting"; 
	private static final String KEY_FILTERS= "org.eclipse.jdt.search.resultpage.filters"; 
	
	private static final String GROUP_GROUPING= "org.eclipse.jdt.search.resultpage.grouping"; 
	
	private NewSearchViewActionGroup fActionGroup;
	private JavaSearchContentProvider fContentProvider;
	private int fCurrentSortOrder;
	private SortAction fSortByNameAction;
	private SortAction fSortByParentName;
	private SortAction fSortByPathAction;
	
	private GroupAction fGroupTypeAction;
	private GroupAction fGroupFileAction;
	private GroupAction fGroupPackageAction;
	private GroupAction fGroupProjectAction;
	private int fCurrentGrouping;
	
	private Set fMatchFilters= new HashSet();
	private FilterAction[] fFilterActions;
	public JavaSearchResultPage() {
		initSortActions();
		initGroupingActions();
		initFilterActions();
	}