patch from http://www.cowbarn.org/phpeclipse/
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / view / bookmark / GroupNode.java
index 04b5da5..974dcd7 100644 (file)
@@ -5,6 +5,7 @@
 package com.quantum.view.bookmark;
 
 import java.sql.SQLException;
+import java.util.Collections;
 import java.util.HashMap;
 import java.util.Iterator;
 import java.util.Map;
@@ -71,6 +72,7 @@ public class GroupNode extends TreeNode implements Comparable, SchemaHolder {
                     this.children.add(entityNode);
                 }
             }
+            Collections.sort(this.children);
             if ((temp.size() > 0 || changed ) && !firstTimeInitialization) {
                 firePropertyChange("children", null, null);
             }