protected function _actionReorder($context)
    {
        $photo_ids = (array) AnConfig::unbox($context->data->photo_id);
        $this->getItem()->reorder($photo_ids);

        return $this->getItem();
    }
protected function _actionReorder($context)
    {
        $photo_ids = (array) AnConfig::unbox($context->data->photo_id);
        $this->getItem()->reorder($photo_ids);

        return $this->getItem();
    }
protected function _actionReorder ( $ context ) { $ photo_ids = ( array ) AnConfig :: unbox ( $ context -> data -> photo_id ) ; $ this -> getItem ( ) -> reorder ( $ photo_ids ) ; return $ this -> getItem ( ) ; }
Reorders the photos in a set in respect with the order of ids.

@param object POST data

@return object ComPhotosDomainEntitySet
Reorders the photos in a set in respect with the order of ids .