if (!reload) reload = reloadRoot;
    void sortNodes(int type)    {        sorter.setByDate(type == Browser.SORT_NODES_BY_DATE);        DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel();        TreeImageDisplay root = (TreeImageDisplay) dtm.getRoot();        boolean reload = false;        Set children = root.getChildrenDisplay();        root.removeAllChildren();        dtm.reload(root);        if (children.size() != 0) {            buildTreeNode(root, sorter.sort(children), dtm);            if (!reload) reload = reloadRoot;        } else buildEmptyNode(root);        //if (reload) dtm.reload(root);        if (!model.isMainTree()) loadGoIntoTree();        reloadRoot = true;            }