diff --git a/src/rtichoke/performance_data/performance_data.py b/src/rtichoke/performance_data/performance_data.py index fff255bf..a07e57a6 100644 --- a/src/rtichoke/performance_data/performance_data.py +++ b/src/rtichoke/performance_data/performance_data.py @@ -158,4 +158,6 @@ def prepare_performance_data( performance_data = _turn_cumulative_aj_to_performance_data(cumulative_aj_data) - return performance_data + return performance_data.sort( + ["reference_group", "stratified_by", "chosen_cutoff"] + )