add sort parameters to results cache