diff --git a/app/helpers/officing_helper.rb b/app/helpers/officing_helper.rb index 8992b75a2..e22e015de 100644 --- a/app/helpers/officing_helper.rb +++ b/app/helpers/officing_helper.rb @@ -4,7 +4,7 @@ module OfficingHelper officer_assignments.each do |oa| options << [oa.booth_assignment.booth.name.to_s, oa.id] end - options.sort! { |x, y| x[0] <=> y[0] } + options.sort_by! { |x| x[0] } options_for_select(options, params[:oa]) end