Bug 205049 Other plug-ins should be able to define default content generator
Currently only the content generator can define which plug-ins it can be the default for - we need a way for plug-ins to refer back to the marker support for thier own generator.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/provisional/views/markers/MarkerComparator.java
for (int j = 0; j < descending.length; j++) {
				if(descending[j].getID().equals(fields[i].getID())){
					descendingFields.add(fields[i]);
					continue;
				}
				
			}
		}
	}
	/**
	 * Save the current sort field in the memento.
	 * @param memento
	 */
	void saveState(IMemento memento) {
		memento.putString(PRIMARY_SORT_FIELD_TAG, fields[0].getID());
		Iterator descendingIterator = descendingFields.iterator();
		while(descendingIterator.hasNext()){
			memento.createChild(DESCENDING_FIELDS, ((MarkerField)descendingIterator.next()).getID());
		}
		
	}
	/**
	 * Get the field that is the main sort field
	 * @return MarkerField
	 */
	MarkerField getPrimarySortField() {
		return fields[0];
	}
}