sort filter test working