public function savePriority() {
        $ITER = 1;
        $metaTable = TableRegistry::get('CmsContentMeta');
        if ($this->request->is('post')) :
            $items = explode(',', $this->request->data['order']);
            foreach ($items as $id) :
                $meta = $metaTable->get($id);
                $meta->priority = $ITER++;
                $metaTable->save($meta);
            endforeach;
        endif;
        exit('ok');
    }