Bug 315281 update copyrights for 3.6
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/MarkerSortUtil.java
Arrays.sort(entries, from, to + 1, comparator);
			
			for (int i = from; i <= to; i++) {
				entries[i].clearCache();
			}
			return;
		}
		
		
		
		 
		
		int totalBatches = (k-1) / BATCH_SIZE; 
		int batchCount = 0;
		while (totalBatches > 0) {
			if(monitor.isCanceled()){
				return;
			}
			int fromTemp = from + batchCount * BATCH_SIZE;
			int toTemp = from + (batchCount + 1) * BATCH_SIZE;
			partiallySort(entries, fromTemp, toTemp, to, comparator);
			batchCount++;
			totalBatches--;
		}
		if(monitor.isCanceled()){
			return;
		}
		if (last >= from + batchCount * BATCH_SIZE) {