waltz-ng/client/dynamic-section/section-store.js
/**
 * Sort list of sections, ensuring 'change log' is the last one
 */
Sort list of sections, ensuring 'change log' is the last one
Sort list of sections ensuring ' change log ' is the last one
function sortSections(list) {
    return _.orderBy(
        list,
        s => s === dynamicSections.changeLogSection
            ? "zzz"
            : _.toLower(s.name));
}
function sortSections ( list ) { return _ . orderBy ( list , s => s === dynamicSections . changeLogSection ? "zzz" : _ . toLower ( s . name ) ) ; }
Sort list of sections, ensuring 'change log' is the last one
Sort list of sections ensuring ' change log ' is the last one