code: function (children) {
          var allChildren = this.get('allChildren');
          if(allChildren) {
            this._setChildren(allChildren.filter(function (child) {
              return children.indexOf(child) !== -1; // true if child is in children
            }));
          }
        }
docs: Public function.
  Set the child array after filtering
  @param children {Array} Array of DataNodes to be set