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
* Update the direction indicator as column is now the primary column.
	 * 
	 * @param column
	 * @field {@link MarkerField}
	 */
	void updateDirectionIndicator(TreeColumn column, MarkerField field) {
		viewer.getTree().setSortColumn(column);
		if (state.getSortDirection(field) == MarkerField.ASCENDING)
			viewer.getTree().setSortDirection(SWT.UP);
		else
			viewer.getTree().setSortDirection(SWT.DOWN);
	}
	/**
	 * Update the title of the view.
	 */
	protected void updateTitle() {
		String status = MarkerSupportConstants.EMPTY_STRING;
		int filteredCount = builder.getVisibleMarkers().getSize();
		int totalCount = builder.getTotalMarkerCount();
		if (filteredCount == totalCount) {
			status = NLS.bind(MarkerMessages.filter_itemsMessage, new Integer(
					totalCount));
		} else {
			status = NLS.bind(MarkerMessages.filter_matchedMessage,
					new Integer(filteredCount), new Integer(totalCount));
		}
		setContentDescription(status);
	}
}