sorting (metrics and smells) added
diff --git a/org.eclipse.emf.refactor.metrics/bin/org/eclipse/emf/refactor/metrics/core/Metric.class b/org.eclipse.emf.refactor.metrics/bin/org/eclipse/emf/refactor/metrics/core/Metric.class
index 0bea310..00194d6 100644
--- a/org.eclipse.emf.refactor.metrics/bin/org/eclipse/emf/refactor/metrics/core/Metric.class
+++ b/org.eclipse.emf.refactor.metrics/bin/org/eclipse/emf/refactor/metrics/core/Metric.class
Binary files differ
diff --git a/org.eclipse.emf.refactor.metrics/bin/org/eclipse/emf/refactor/metrics/core/MetricLoader.class b/org.eclipse.emf.refactor.metrics/bin/org/eclipse/emf/refactor/metrics/core/MetricLoader.class
index 9b6983a..5d05f77 100644
--- a/org.eclipse.emf.refactor.metrics/bin/org/eclipse/emf/refactor/metrics/core/MetricLoader.class
+++ b/org.eclipse.emf.refactor.metrics/bin/org/eclipse/emf/refactor/metrics/core/MetricLoader.class
Binary files differ
diff --git a/org.eclipse.emf.refactor.metrics/src/org/eclipse/emf/refactor/metrics/core/Metric.java b/org.eclipse.emf.refactor.metrics/src/org/eclipse/emf/refactor/metrics/core/Metric.java
index ad57734..a91cac2 100644
--- a/org.eclipse.emf.refactor.metrics/src/org/eclipse/emf/refactor/metrics/core/Metric.java
+++ b/org.eclipse.emf.refactor.metrics/src/org/eclipse/emf/refactor/metrics/core/Metric.java
@@ -10,7 +10,7 @@
  * 
  * @author Pawel Stepien
  */
-public class Metric {
+public class Metric implements Comparable<Metric> {
 
 	private String id;
 	private String name;
@@ -105,4 +105,16 @@
 		}
 		return null;
 	}
+
+	@Override
+	public int compareTo(Metric metric) {
+		if(this.equals(metric)) {
+			return 0;
+		}
+		if(this.getName().equals(metric.getName())) {
+			return 0;
+		} else {
+		    return this.getName().compareTo(metric.getName());	
+		}
+	}
 }
diff --git a/org.eclipse.emf.refactor.metrics/src/org/eclipse/emf/refactor/metrics/core/MetricLoader.java b/org.eclipse.emf.refactor.metrics/src/org/eclipse/emf/refactor/metrics/core/MetricLoader.java
index bb89b98..70e6c81 100644
--- a/org.eclipse.emf.refactor.metrics/src/org/eclipse/emf/refactor/metrics/core/MetricLoader.java
+++ b/org.eclipse.emf.refactor.metrics/src/org/eclipse/emf/refactor/metrics/core/MetricLoader.java
@@ -24,6 +24,7 @@
 				e.printStackTrace();
 			}
 		}
+		java.util.Collections.sort(metrics);
 		return metrics;
 	}