Bug 44443 [Tasks] Problems View should 'filter' more efficiently
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/TableSortDialog.java
}
	/**
	 * Set the layout data of the button to a GridData with 
	 * appropriate heights and widths.
	 * @param button
	 */
	private void setButtonSize(Button button, GridData buttonData) {
		buttonData.heightHint =
			convertVerticalDLUsToPixels(IDialogConstants.BUTTON_HEIGHT);
		int widthHint =
			convertHorizontalDLUsToPixels(IDialogConstants.BUTTON_WIDTH);
		buttonData.widthHint =
			Math.max(
				widthHint,
				button.computeSize(SWT.DEFAULT, SWT.DEFAULT, true).x);
		button.setLayoutData(buttonData);
	}
	
	private void initPriotityText() {
		IField[] unorderedProperties = sorter.getFields();
		properties = new IField[unorderedProperties.length];
		System.arraycopy(unorderedProperties, 0, properties, 0, properties.length);
		propertyText = new String[properties.length];
		for (int i = 0; i < properties.length; i++) {
			propertyText[i] = properties[i].getDescription();
		}
	}
	
}