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
IMarker[] markers = resource.findMarkers(
							markerType.getId(), includeAllSubtypes
									.contains(markerType), depth);
					monitor.worked(1);
					filterMarkers(results, group, markers);
				} catch (CoreException e) {
					StatusManager.getManager().handle(e.getStatus());
				}
			}
		}
		monitor.done();
	}
	/**
	 * Add all of the markers that pass the filters to results.
	 * 
	 * @param results
	 *            Collection of {@link IMarker}
	 * @param group
	 * @param markers
	 */
	private void filterMarkers(Collection results,
			MarkerFieldFilterGroup group, IMarker[] markers) {
		for (int idx = 0; idx < markers.length; idx++) {
			IMarker marker = markers[idx];
			if (group == null || group.select(marker))
				results.add(marker);
		}
	}