Do better validation and nicer error messages when incorrect limit and order by query params are given

Do better validation and nicer error messages when incorrect limit and order by query params are given