public function reorder()
{
// loop through order
$order = (array) pods_var_raw('order', 'post', array(), null, true);
$params = array('pod' => $this->pod->pod, 'field' => $this->reorder['on'], 'order' => $order);
$reorder = pods_api()->reorder_pod_item($params);
if ($reorder) {
$this->message(sprintf(__("<strong>Success!</strong> %s reordered successfully.", 'pods'), $this->items));
} else {
$this->error(sprintf(__("<strong>Error:</strong> %s has not been reordered.", 'pods'), $this->items));
}
}