code: 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;
        });
  }
docs: Sort the dependencies in the order we can best determine they're needed.
  
  @param  {object} config    the global configuration object
  @param  {string} fileType  the type of file to prioritize
  @return {array} the sorted items of 'path/to/main/files.ext' sorted by type