Bug 208055 [Markers] Need a sorting method for the markers view
As there is currently no accessible way to change sort order or direction. A menu should be enough.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/provisional/views/markers/MarkerContentGenerator.java
HashSet includeAllSubtypes = new HashSet(selectedTypes.size());
		typesToSearch.addAll(selectedTypes);
		Iterator iter = selectedTypes.iterator();
		while (iter.hasNext()) {
			MarkerType type = (MarkerType) iter.next();
			Collection subtypes = Arrays.asList(type.getAllSubTypes());
			if (selectedTypes.containsAll(subtypes)) {
				typesToSearch.removeAll(subtypes);
				includeAllSubtypes.add(type);
			}
		}
		monitor.beginTask(MarkerMessages.MarkerFilter_searching, typesToSearch
				.size()
				* resources.length);
		
		
		HashSet resourcesToSearch = new HashSet();
		
		for (int idx = 0; idx < resources.length; idx++) {
			IResource next = resources[idx];
			if (!next.exists())
				continue;
			if (resourcesToSearch.contains(next))
				monitor.worked(typesToSearch.size());
			else
				resourcesToSearch.add(next);
		}