public function orderByPagination($field, $order, $value)
    {
        return $this->getModel()->orderBy($field, $order)->paginate($value);
    }
public function orderByPagination($field, $order, $value)
    {
        return $this->getModel()->orderBy($field, $order)->paginate($value);
    }
public function orderByPagination ( $ field , $ order , $ value ) { return $ this -> getModel ( ) -> orderBy ( $ field , $ order ) -> paginate ( $ value ) ; }
ORDERNAR Y PAGINAR
ORDERNAR Y PAGINAR