Bug 44443 [Tasks] Problems View should 'filter' more efficiently
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/TableSortDialog.java
for (int j = 0; j < propertyText.length && index == -1; j++) {
					if (propertyText[j].equals(column))
						index = j;
				}
				if (index == -1) {
					sorter.resetState();
					return;
				}
				sorter.setTopPriority(properties[index]);
				int direction = TableSorter.ASCENDING;
				if (descendingButtons[i].getSelection())
					direction = TableSorter.DESCENDING;
				sorter.setTopPriorityDirection(direction);
			}
		}
		super.okPressed();
	}
	
	/**
	 * @return boolean
	 */
	public boolean isDirty() {
		return dirty;
	}
	/**
	 * Sets the dirty flag to true;
	 * @param dirty The dirty to set
	 */
	public void markDirty() {
		dirty = true;