code: function (id, addBefore) {
              var shadowScopeOrder = this._defaults._shadowScopeOrder,
                  index = _.findIndex(shadowScopeOrder, function (entry) {
                      return entry.id === id;
                  }),
                  entry;
              if (index > -1) {
                  entry = shadowScopeOrder[index];
                  this._addToScopeOrder(entry.id, entry.scope, entry.promise, addBefore);
              }
          }
docs: Adds scope to the scope order by its id. The scope should be previously added to the preference system.
  
  @param {string} id the scope id
  @param {string} before the id of the scope to add before