def METHOD_NAME(model_instances, client):
    "Appropriate errors should be thrown if bad sort parameters supplied"
    resp = client.get("/api/v2/budget_authority/agencies/000/?sort=wxyz")
    # Even though I'm raising ParseErrors, which should be 400s,
    # they're being raised as 500s... thus skipping for now
    assert resp.status_code == status.HTTP_400_BAD_REQUEST
    resp = client.get("/api/v2/budget_authority/agencies/002/?sort=year&order=wxyz")
    assert resp.status_code == status.HTTP_400_BAD_REQUEST