adapt to new sort and filter parameters