Bug 124124 [Markers] Group sorting needs criterea other than lexical value
20060117 Lexicial sorting is not good enough for the severity group as we need to sort errors before warnings and the translation of the word error may not appear lexically before warnings. The sorting of groups needs to be the same as the sort order of thier elements. This turns out to be an issue for groups contributed via attributes as well. My suggestion is that allow the group to sort either by attribute value or by name (the default) so that sort order can be supplied by the group contributor. I am including the JDT team as they may want to use this support to determine sort ordering within thier groups.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerSupportRegistry.java
/**
	 * Get the constant for scope from element. Return -1 if there is no value.
	 * 
	 * @param element
	 * @return int one of MarkerView#ON_ANY MarkerView#ON_SELECTED_ONLY
	 *         MarkerView#ON_SELECTED_AND_CHILDREN
	 *         MarkerView#ON_ANY_IN_SAME_CONTAINER
	 */
	private int getSeverityValue(IConfigurationElement element) {
		String severity = element.getAttribute(SEVERITY);
		if (severity == null)
			return -1;
		if (severity.equals(INFO))
			return ProblemFilter.SEVERITY_INFO;
		if (severity.equals(WARNING))
			return ProblemFilter.SEVERITY_WARNING;
		if (severity.equals(ERROR))
			return ProblemFilter.SEVERITY_ERROR;
		return -1;
	}
	/**
	 * Read the problem filters in the receiver.
	 * 
	 * @param element
	 *            the filter element
	 * @return ProblemFilter
	 */
	private ProblemFilter newFilter(IConfigurationElement element) {
		ProblemFilter filter = new ProblemFilter(element.getAttribute(NAME));
		filter.createContributionFrom(element);