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
IStatus status = new Status(IStatus.WARNING,
							IDEWorkbenchPlugin.IDE_WORKBENCH, IStatus.WARNING,
							MarkerMessages.ProblemFilterRegistry_nullType, null);
					IDEWorkbenchPlugin.getDefault().getLog().log(status);
				} else
					selectedTypes.add(type);
			}
		}
		if (selectedTypes.size() > 0) 
			
			filter.setSelectedTypes(selectedTypes);
		return filter;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.core.runtime.dynamichelpers.IExtensionChangeHandler#removeExtension(org.eclipse.core.runtime.IExtension,
	 *      java.lang.Object[])
	 */
	public void removeExtension(IExtension extension, Object[] objects) {
		for (int i = 0; i < objects.length; i++) {
			if (objects[i] instanceof ProblemFilter)
				registeredFilters.remove(objects[i]);
			if (objects[i] instanceof FieldMarkerGroup) {
				markerGroups.remove(objects[i]);
			}
			if (objects[i] instanceof String) {
				removeValues(objects[i], categories);
			}
			if (objects[i] instanceof TableSorter) {