Hi! My problem is, I can't sort the List! I use: List ch = root.getChildren; Collections.sort( ch , mycomp ); I wrote a comparator, what works. But I got an exception: org.jdom.IllegalAddException: The element already has an existing parent "root" I tried to search in the archive, but I couldn't find any solutions! Thanks, Galuc