Bug 44443 [Tasks] Problems View should 'filter' more efficiently
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/FieldDone.java
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;
		}
		IMarker marker1 = (IMarker) obj1;
		IMarker marker2 = (IMarker) obj2;
		int value1 = -1;
		if (marker1.getAttribute(IMarker.USER_EDITABLE, true)) {
			value1 = 0;
			if (marker1.getAttribute(IMarker.DONE, false)) {
				value1 = 1;
			}
		}
		int value2 = -1;
		if (marker2.getAttribute(IMarker.USER_EDITABLE, true)) {
			value2 = 0;
			if (marker2.getAttribute(IMarker.DONE, false)) {
				value2 = 1;
			}
		}
		return value1 - value2;
	}
}