Fix for FELIX-1381

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@795375 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/model/util/JavaHelper.java b/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/model/util/JavaHelper.java
index 0c7ab7d..483f38e 100644
--- a/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/model/util/JavaHelper.java
+++ b/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/model/util/JavaHelper.java
@@ -27,6 +27,7 @@
 import java.util.ArrayList;
 import java.util.Collection;
 import java.util.Collections;
+import java.util.Comparator;
 import java.util.HashMap;
 import java.util.HashSet;
 import java.util.Iterator;
@@ -321,6 +322,12 @@
 			}
 		}
 
+		Collections.sort(entries, new Comparator<IClasspathEntry>() {
+			public int compare(IClasspathEntry o1, IClasspathEntry o2) {
+				return o1.toString().compareTo(o2.toString());
+			}
+		});
+		
 		monitor.worked(1);
 		monitor.done();