src/virtual-scrolling-tree/VirtualScrollingTree.js
function sortExpansions() {
    let impl = function(expansions) {
        expansions.sort((a, b) => {
            return a.offset - b.offset;
        });
        
        for (let i = 0; i < expansions.length; i++) {
            impl(expansions[i].expansions);
        }
    }

    impl(_(this).expansions);
}
function sortExpansions() {
    let impl = function(expansions) {
        expansions.sort((a, b) => {
            return a.offset - b.offset;
        });
        
        for (let i = 0; i < expansions.length; i++) {
            impl(expansions[i].expansions);
        }
    }

    impl(_(this).expansions);
}
function sortExpansions ( ) { let impl = function ( expansions ) { expansions . sort ( ( a , b ) => { return a . offset - b . offset ; } ) ; for ( let i = 0 ; i < expansions . length ; i ++ ) { impl ( expansions [ i ] . expansions ) ; } } impl ( _ ( this ) . expansions ) ; }
Sorting expansions makes the query more accurate.

@method sortExpansions
@private
Sorting expansions makes the query more accurate .