concrete/src/Block/BlockType/Set.php
public function setBlockTypeDisplayOrder(BlockTypeEntity $bt, $displayOrder)
    {
        $app = Application::getFacadeApplication();
        $db = $app->make(Connection::class);
        $db->update(
            'BlockTypeSetBlockTypes',
            ['displayOrder' => $displayOrder],
            ['btID' => $bt->getBlockTypeID(), 'btsID' => $this->getBlockTypeSetID()]
        );
    }
public function setBlockTypeDisplayOrder(BlockTypeEntity $bt, $displayOrder)
    {
        $app = Application::getFacadeApplication();
        $db = $app->make(Connection::class);
        $db->update(
            'BlockTypeSetBlockTypes',
            ['displayOrder' => $displayOrder],
            ['btID' => $bt->getBlockTypeID(), 'btsID' => $this->getBlockTypeSetID()]
        );
    }
public function setBlockTypeDisplayOrder ( BlockTypeEntity $ bt , $ displayOrder ) { $ app = Application :: getFacadeApplication ( ) ; $ db = $ app -> make ( Connection :: class ) ; $ db -> update ( 'BlockTypeSetBlockTypes' , [ 'displayOrder' => $ displayOrder ] , [ 'btID' => $ bt -> getBlockTypeID ( ) , 'btsID' => $ this -> getBlockTypeSetID ( ) ] ) ; }
Update the display order of a block type contained in this set.

@param \Concrete\Core\Entity\Block\BlockType\BlockType $bt The block type to be updated
@param int $displayOrder the new display order of the blocktype inside this set
Update the display order of a block type contained in this set .