Bug 203838 [Markers] [Markers] clicking on column headers does not sort table
I20070918 Clicking on any of the column headers does not sort based on the relevant column.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/provisional/views/markers/ExtendedMarkersView.java
/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.ui.part.WorkbenchPart#createPartControl(org.eclipse.swt.widgets.Composite)
	 */
	public void createPartControl(Composite parent) {
		parent.setLayout(new FillLayout());
		viewer = new MarkersTreeViewer(new Tree(parent, SWT.H_SCROLL
				| SWT.V_SCROLL | SWT.MULTI | SWT.FULL_SELECTION | SWT.VIRTUAL));
		viewer.getTree().setLinesVisible(true);
		viewer.setUseHashlookup(true);
		createColumns(new TreeColumn[0]);
		viewer.setContentProvider(getContentProvider(viewer));
		viewer.getTree().setItemCount(builder.getElements().length);
		viewer.setInput(builder);
		Scrollable scrollable = (Scrollable) viewer.getControl();
		ScrollBar bar = scrollable.getVerticalBar();
		if (bar != null) {
			bar.setSelection(getIntValue(TAG_VERTICAL_POSITION));
		}
		bar = scrollable.getHorizontalBar();
		if (bar != null) {
			bar.setSelection(getIntValue(TAG_HORIZONTAL_POSITION));
		}
		getSite().setSelectionProvider(viewer);
		
		ISelectionListener listener = getPageSelectionListener();
		getSite().getPage().addSelectionListener(listener);
		listener.selectionChanged(getSite().getPage().getActivePart(),
				getSite().getPage().getSelection());