/** * {@inheritdoc} */ public function naturalSort() : CollectionInterface { return new self($this->type, parent::naturalSort()->toPrimitive()); }