Sort and per_page options for document#index