DownloadDirectoryNode.setSortCriteria(sortCriteria, isAscent);
    public void setSortCriteria(int sortCriteria, boolean isAscent) {        sort = sortCriteria;        this.isAscent = isAscent;        if (sortedChildNodes != null) {            sort(sortedChildNodes);        }    }