package de.cooperateproject.modeling.textual.component.services;

import org.eclipse.emf.ecore.EObject;

import de.cooperateproject.modeling.textual.xtext.runtime.derivedstate.initializer.IDerivedStateComputerSorter;

public class ComponentDerivedStateComputerSorter implements IDerivedStateComputerSorter {

	@Override
	public int compare(EObject o1, EObject o2) {
		return 0;
	}

}

@@ -98,24 +98,95 @@
 EObject;%0D%0A%0D%0A
+import de.cooperateproject.modeling.textual.component.cmp.Classifier;%0D%0A
 import de.co
@@ -446,16 +446,138 @@
 %0D%0A%09%09
-return 0
+int prio1 = o1 instanceof Classifier ? 1 : 0;%0D%0A        int prio2 = o2 instanceof Classifier ? 1 : 0;%0D%0A        return prio2 - prio1
 ;%0D%0A%09

resolve Classifiers before other things