add filter for sort and search