public void sortMoviesInMovieSet(MovieSet movieSet){
synchronized (root) {
    MovieSetTreeNode node=(MovieSetTreeNode)nodeMap.get(movieSet);
    node.sort();
    TreeModelEvent event=new TreeModelEvent(this,node.getPath());
    for (    TreeModelListener listener : listeners) {
      listener.treeStructureChanged(event);
    }
  }
}

public void sortMoviesInMovieSet ( MovieSet movieSet ) { synchronized ( root ) { MovieSetTreeNode node = ( MovieSetTreeNode ) nodeMap . get ( movieSet ) ; node . sort ( ) ; TreeModelEvent event = new TreeModelEvent ( this , node . getPath ( ) ) ; for ( TreeModelListener listener : listeners ) { listener . treeStructureChanged ( event ) ; } } }
sort movies in movie set .
