code: function (config, fileType) {
      var eliteDependenciesCaught = [];
  
      var dependencies = mergeSort(
          _.toArray(config.get('global-dependencies').get()).filter(function (dependency) {
              return _.contains(dependency.type, fileType);
          }).filter(function (dependency) {
              if (_.contains(eliteDependencies, dependency.name)) {
                  eliteDependenciesCaught.push(dependency.main);
              } else {
                  return true;
              }
          })
      ).map(prop('main'));
  
      eliteDependenciesCaught.
      forEach(function (dependency) {
          dependencies.unshift(dependency);
      });
  
      return _(dependencies).
      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