public function fixBlocksPositions(Model\RowInterface $row)
    {
        $this->sortChildrenByPosition($row, 'blocks');

        /** @var Model\BlockInterface[] $blocks */
        $blocks = $row->getBlocks();

        $position = 0;
        foreach ($blocks as $block) {
            $block->setPosition($position);
            $position++;
        }

        return $this;
    }