Bug 315281 update copyrights for 3.6
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/MarkerSortUtil.java
if (last == to) {
				partiallySort(entries, from + batchCount * BATCH_SIZE, last,
						to, comparator);
			} else {
				partiallySort(entries, from + batchCount * BATCH_SIZE, last+1,
						to, comparator);
			}
		}
	}
	/**
	 * @param fArray1
	 * @param comparator
	 * @param from
	 * @param k
	 * @param limit
	 */
	public static void sortStartingKElement(MockMarkerEntry[] fArray1,
			Comparator comparator, int from, int k, int limit) {
		sortStartingKElement(fArray1, comparator, from, k, limit,new NullProgressMonitor());		
	}
	/**
	 * Sorts [0,k-1] in the array of [0,entries.length-1] using a variant of
	 * modified heapsort, such that
	 * array[0]<array[1]<...<array[k-1] and
	 * array[k-1]<arra[k||k+1||k+2|| ....entries.length-1]
	 * 
	 * Note: if k is greater than a number,the sorting happens in batches of
	 * that number, this for performance reasons.
	 * 
	 * @param entries