fixed sort, submit, validation, and filter