bin/theme.js
function buildChildren(reflection, parent) {
                    var modules = reflection.getChildrenByKind(td.models.ReflectionKind.SomeModule);
                    modules.sort(function (a, b) {
                        return a.getFullName() < b.getFullName() ? -1 : 1;
                    });
                    modules.forEach(function (reflection) {
                        var item = output.NavigationItem.create(reflection, parent);
                        includeDedicatedUrls(reflection, item);
                        buildChildren(reflection, item);
                    });
                }
function buildChildren(reflection, parent) {
                    var modules = reflection.getChildrenByKind(td.models.ReflectionKind.SomeModule);
                    modules.sort(function (a, b) {
                        return a.getFullName() < b.getFullName() ? -1 : 1;
                    });
                    modules.forEach(function (reflection) {
                        var item = output.NavigationItem.create(reflection, parent);
                        includeDedicatedUrls(reflection, item);
                        buildChildren(reflection, item);
                    });
                }
function buildChildren ( reflection , parent ) { var modules = reflection . getChildrenByKind ( td . models . ReflectionKind . SomeModule ) ; modules . sort ( function ( a , b ) { return a . getFullName ( ) < b . getFullName ( ) ? - 1 : 1 ; } ) ; modules . forEach ( function ( reflection ) { var item = output . NavigationItem . create ( reflection , parent ) ; includeDedicatedUrls ( reflection , item ) ; buildChildren ( reflection , item ) ; } ) ; }
Create navigation nodes for all container children of the given reflection.

@param reflection  The reflection whose children modules should be transformed into navigation nodes.
@param parent      The parent NavigationItem of the newly created nodes.
Create navigation nodes for all container children of the given reflection .