both sorting and filtering work, added saving params to session and redirect