public function sort(array $data)
    {
        foreach ($data['item'] as $position => $item) {
            $page = $this->find($item['id']);

            $sortData = $this->getSortData($position + 1, $item);

            $page->update($sortData);

            if ($data['moved'] == $item['id']) {
                $this->fireResetChildrenUriEvent($page);
            }
        }
        $this->forgetCache();
    }