Bug 44443 [Tasks] Problems View should 'filter' more efficiently
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/FieldPriority.java
public boolean equals(Object other) {
		if (!(other instanceof IField)) {
			return false;
		}
		IField otherProperty = (IField) other;
		return (this.name.equals(otherProperty.getName()));
	}
	/**
	 * @see org.eclipse.ui.views.markerview.IField#compare(java.lang.Object, java.lang.Object)
	 */
	public int compare(Object obj1, Object obj2) {
		if (obj1 == null || obj2 == null || !(obj1 instanceof IMarker) || !(obj2 instanceof IMarker)) {
			return 0;
		}
		int priority1 = -1;
		try {
			priority1 = Integer.parseInt(Util.getProperty(name, (IMarker) obj1));
		}
		catch (NumberFormatException e) {
		}
		int priority2 = -1;
		try {
			priority2 = Integer.parseInt(Util.getProperty(name, (IMarker) obj2));
		}
		catch (NumberFormatException e) {
		}
		return priority1 - priority2;
	}
}