public function reorderFields(PanelFacet $panelFacet)
    {
        $fields = $panelFacet->getFieldsFacet();
        $order = 0;

        foreach ($fields as $field) {
            $field->setPosition($order);
            $order++;
            $this->om->persist($field);
        }

        $this->om->flush();
    }