src/main/java/edu/wisc/my/portlets/bookmarks/domain/Folder.java
public List<Entry> getSortedChildren() {
        if (this.children == null) {
            return null;
        }
        else {
            final Collection<Entry> childCollection = this.children.values();
            final List<Entry> childList = new ArrayList<Entry>(childCollection);
            Collections.sort(childList, this.childComparator);
            return Collections.unmodifiableList(childList);
        }
    }
public List<Entry> getSortedChildren() {
        if (this.children == null) {
            return null;
        }
        else {
            final Collection<Entry> childCollection = this.children.values();
            final List<Entry> childList = new ArrayList<Entry>(childCollection);
            Collections.sort(childList, this.childComparator);
            return Collections.unmodifiableList(childList);
        }
    }
public List < Entry > getSortedChildren ( ) { if ( this . children == null ) { return null ; } else { final Collection < Entry > childCollection = this . children . values ( ) ; final List < Entry > childList = new ArrayList < Entry > ( childCollection ) ; Collections . sort ( childList , this . childComparator ) ; return Collections . unmodifiableList ( childList ) ; } }
Returns an immutable sorted view of the values of the children Map. The sorting is done
using the current childComparator. Warning, this is has a time cost of 2n log(n)
on every call.

@return An immutable sorted view of the folder's children.
Returns an immutable sorted view of the values of the children Map . The sorting is done using the current childComparator . Warning this is has a time cost of 2n log ( n ) on every call .