docs: function prioritizeDependencies(config, fileType) {
    var globalDependencies = $._.toArray(config.get('global-dependencies').get());
  
    var dependencies = globalDependencies.filter(function (dependency) {
      return $._.includes(dependency.type, fileType);
    });
  
    return $._(mergeSort(dependencies)).
        map($.propprop('main')).
        flatten().
        value().
        filter(function (main) {
          return $.path.extname(main) === fileType;
        });
  }