bin/theme.js
function sortReflections(modules) {
                    modules.sort(function (a, b) {
                        if (a.flags.isExternal && !b.flags.isExternal)
                            return 1;
                        if (!a.flags.isExternal && b.flags.isExternal)
                            return -1;
                        return a.getFullName() < b.getFullName() ? -1 : 1;
                    });
                }
function sortReflections(modules) {
                    modules.sort(function (a, b) {
                        if (a.flags.isExternal && !b.flags.isExternal)
                            return 1;
                        if (!a.flags.isExternal && b.flags.isExternal)
                            return -1;
                        return a.getFullName() < b.getFullName() ? -1 : 1;
                    });
                }
function sortReflections ( modules ) { modules . sort ( function ( a , b ) { if ( a . flags . isExternal && ! b . flags . isExternal ) return 1 ; if ( ! a . flags . isExternal && b . flags . isExternal ) return - 1 ; return a . getFullName ( ) < b . getFullName ( ) ? - 1 : 1 ; } ) ; }
Sort the given list of modules by name, groups external modules at the bottom.

@param modules  The list of modules that should be sorted.
Sort the given list of modules by name groups external modules at the bottom .