docs: function sortDependencies(plugins) {
      var byTypes = plugins.groupBy(pluginType);
  
      return byTypes.get(TYPE_PLUGIN, Immutable.List())
          .concat(byTypes.get(TYPE_THEME, Immutable.List()));
  }