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