viewer.setLabelProvider(new HistoryLabelProvider());   HistorySorter sorter = new HistorySorter(COL_REVISION); sorter.setReversed(true); viewer.setSorter(sorter);  return viewer; }
TableLayout layout= new TableLayout(); table.setLayout(layout);  TableViewer viewer= new TableViewer(table);  createColumns(table, layout, viewer);  viewer.setLabelProvider(new HistoryLabelProvider());   HistorySorter sorter= new HistorySorter(COL_REVISION); sorter.setReversed(true); viewer.setSorter(sorter);  return viewer; }
	public TableViewer createTable(Composite parent) {		Table table = new Table(parent, SWT.H_SCROLL | SWT.V_SCROLL | SWT.MULTI | SWT.FULL_SELECTION);		table.setHeaderVisible(true);		table.setLinesVisible(true);		GridData data = new GridData(GridData.FILL_BOTH);		table.setLayoutData(data);			TableLayout layout = new TableLayout();		table.setLayout(layout);				TableViewer viewer = new TableViewer(table);				createColumns(table, layout, viewer);		viewer.setLabelProvider(new HistoryLabelProvider());				// By default, reverse sort by revision.		HistorySorter sorter = new HistorySorter(COL_REVISION);		sorter.setReversed(true);		viewer.setSorter(sorter);				return viewer;	}