added column sorting and day filtering