diff --git a/app/controllers/cohorts_controller.rb b/app/controllers/cohorts_controller.rb index c4c3eab80..f5e8c1c04 100644 --- a/app/controllers/cohorts_controller.rb +++ b/app/controllers/cohorts_controller.rb @@ -26,7 +26,10 @@ def index def show @cohort = policy_scope(Cohort).find(params[:id]) - @patients = @cohort.patients.recorded + @patients = + @cohort.patients.recorded.sort_by do |patient| + [patient.first_name, patient.last_name] + end end private