Bug 53839 new search: remember the sort options
I20040302 the group-by capabilties and the buttons are great. So good that I would want the group-by setting to be remembered across sessions.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultPage.java
public void dispose() {
		fActionGroup.dispose();
		super.dispose();
	}
	
	protected void elementsChanged(Object[] objects) {
		if (fContentProvider != null)
			fContentProvider.elementsChanged(objects);
	}
	protected void clear() {
		if (fContentProvider != null)
			fContentProvider.clear();
	}
	protected void configureTableViewer(TableViewer viewer) {
		viewer.setLabelProvider(new DelegatingLabelProvider(this, new JavaSearchResultLabelProvider()));
		fContentProvider=new JavaSearchTableContentProvider(viewer);
		viewer.setContentProvider(fContentProvider);
		setSortOrder(fCurrentSortOrder);
	}
	protected void configureTreeViewer(AbstractTreeViewer viewer) {
		viewer.setSorter(new ViewerSorter());
		viewer.setLabelProvider(new PostfixLabelProvider(this));
		fContentProvider= new LevelTreeContentProvider(viewer, fCurrentGrouping);
		viewer.setContentProvider(fContentProvider);
	}
	
	void setSortOrder(int order) {
		fCurrentSortOrder= order;
		StructuredViewer viewer= getViewer();
		DelegatingLabelProvider lpWrapper= (DelegatingLabelProvider) viewer.getLabelProvider();