sorting and filtering posts is working, tests are busted