Added calculations for Q1, Q3. Also sorted 'comb' to group the data from the unique combinations