anchor.diff:        });
     </script>
   
  -
  +  <!-- construct table with appropriate columns, all should be sortable -->
     <table id="feedbackReportTable" class="table table-striped" width="100%" cellspacing='0' cellpadding='2' border='0' style="font-size: 15px">
       <thead>
  -    <tr>
  -      <!-- class value decides whether the column should be sortable or not  -->
  -      <th width="16%" class="sorter-true">Rejoinder <span></span></th>
  -      <th width="14%" class="sorter-true"># author feedbacks done<span></span></th>
  -      <th width="20%" class="sorter-true">Review responded to <span></span></th>
  -      <th width="20%" class="sorter-true">Last responded at<span></span></th>
  -    </tr>
  +      <tr>
  +        <!-- class value decides whether the column should be sortable or not  -->
  +        <th width="16%" class="sorter-true">Rejoinder <span></span></th> <!-- sorted alphabetically -->
  +        <th width="14%" class="sorter-true"># author feedbacks done<span></span></th> <!-- sorted numerically by 1st num then 2nd num -->
  +        <th width="20%" class="sorter-true">Review responded to <span></span></th> <!-- sorted alphabetically -->
  +        <th width="20%" class="sorter-true">Last responded at<span></span></th> <!-- sorted by date -->
  +      </tr>
       </thead>
  +
       <tbody>
   
       <%@l = -1 %>
   
  -    <% @authors.each do |r| %>
  -      <% next unless r %>
  +    <% @authors.each do |rejoinder| %>
  +      <% next unless rejoinder %>
         <% if @assignment.vary_by_round %>
  -        <% get_each_round_review_and_feedback_response_map_for_feedback_report(r) %> 
  +        <% get_each_round_review_and_feedback_response_map_for_feedback_report(rejoinder) %> 
         <% else %>
  -        <% get_certain_review_and_feedback_response_map(r) %>
  +        <% get_certain_review_and_feedback_response_map(rejoinder) %>
         <% end %>
   
         <% @first_col_identifier = true %>
  -      <% if @assignment.vary_by_round %>
  +      
  +      <!-- if the assignment varies by round, prepare data: -->
  +      <% if @assignment.vary_by_round %> 
             <!--data prepare-->
             <% @count_round_one, @count_round_two, @count_round_three = 0, 0, 0 %>
             <% unless @feedback_response_maps_round_one.nil? %>
  
positive.code:           <% end %>
            <% @review_responses.each do |rr| %>
              <!--'FeedbackResponseMap' alias as 'frm' -->
              <% @frm = FeedbackResponseMap.where(["reviewed_object_id = ? and reviewer_id = ? and reviewee_id = ?", rr.id, r.id, rr.response_map.reviewer_id]).first %>
  
              <% if @frm.blank? %>
                <!--Review response rejoined-->
  
negative.code:           <% end %>
          <% end %>
        <% else %>
          <!-- if assignment does not vary by round, prepare data: -->
            <% @count = 0 %>
            <% @feedback_response_maps.each {|rm| @count += 1 if Response.exists? map_id: rm.id} %>
            <% @l = @l+1 %>
  