public function orderby($orderBy = null): Update
    {
        if (!\is_string($orderBy) && !\is_array($orderBy)) {
            throw new InvalidArgumentException('$orderBy has to be an array or a string');
        }
        $this->orderBy = $this->namesClass->parse($orderBy);

        return $this;
    }