%h3= t('poll_mailer.common.results')
%table{style: "width: 100%"}
  %thead
    %th
    %th
    - (1..@info.poll.minimum_stance_choices).each do |score|
      %th.align-right= t(:"ordinal._#{score}")
    %th.align-right= t(:"common.total")
  - @info.poll_options.sort_by(&:total_score).reverse.each_with_index do |poll_option, index|
    %tr
      %td= render "poll_mailer/common/chip", color: poll_option.color
      %td= poll_option.display_name
      - (1..@info.poll.minimum_stance_choices).each do |score|
        %td.align-right= poll_option.stance_choices.where(score: score).count
      %td.align-right= poll_option.total_score

%h3= t('poll_mailer.common.results')
%table{style: "width: 100%"}
  %thead
    %th
    %th
    - (1..@info.poll.minimum_stance_choices).each do |score|
      %th.align-right= t(:"ordinal._#{score}")
    %th.align-right= t(:"common.total")
  - @info.poll_options.sort_by(&:total_score).reverse.each do |poll_option|
    %tr
      %td= render "poll_mailer/common/chip", color: poll_option.color
      %td= poll_option.display_name
      - (1..@info.poll.minimum_stance_choices).reverse_each do |score|
        %td.align-right= poll_option.stance_choices.where(score: score).count
      %td.align-right= poll_option.total_score

Fix ranked choice vote order
Fix ranked choice vote order
