Is it possible to sort my report based on a value calculated in a subreport? In a subreport, I calculate the total number of days that a patient has been on a list and I want to sort my main report on other criteria first, but finally also on the number of days on this list.