anchor.diff:      <% end %>
     </table>
   </div>
  +
  +<!-- Clean Up this code. -->
  +<!--E1877: custom parser added to sort the metric data-->
  +<script>
  +    $(function () {
  +        /*Function for sorting the table */
  +
  +        $("#feedbackReportTable").tablesorter({
  +            sortList: [[0, 0]], //sort First Column by default when page loads
  +            textSorter: {
  +                      1: function (a, b) {
  +                    if (a.length == 0 && b.length == 0){
  +                        return 0;
  +                    }
  +                    if (a.length == 0){
  +                        return -1;
  +                    }
  +                    if (b.length == 0){
  +                        return 1;
  +                    }
  +                     if (a === b) {
  +                         return 0;
  +                     }
  +                     //E1877: values split by "/", to get the digits before and after it.
  +                     var res1 = a.split("/");
  +                     var res2 = b.split("/");
  +                     res1[1] = res1[1].split(" ")[0];
  +                     res2[1] = res2[1].split(" ")[0];
  +                     //E1877: comparison of int values
  +                     if(parseInt(res1[0])>parseInt(res2[0])){
  +                         return 1;
  +                     }
  +                     else if(parseInt(res1[0])<parseInt(res2[0])){
  +                         return -1;
  +                     }
  +                     else{
  +                         if(parseInt(res1[1])>parseInt(res2[1])){
  +                             return 1;
  +                         }
  +                         else if(parseInt(res1[1])<parseInt(res2[1])){
  +                             return -1;
  +                         }
  +                         else{
  +                             return 0;
  +                         }
  +                     }
  +                 }
  +             }
  +         });
  +     });
  +</script>
positive.code:                 (<%= reviewee_name = Participant.find(rr.response_map.reviewer_id).user.fullname(session[:ip]) %>)
                </td>
                <!--Last rejoined at-->
                <td bgcolor=<%= @bgcolor %> style="color:#A90201" align = 'left'>No</td></tr><tr>
              <% else %>
                <% @reviewee_name = Participant.find(@frm.reviewee_id).user.fullname(session[:ip]) %>
                <% if Response.exists?(map_id: @frm.id) %>
  
negative.code:             <% @reviewer_name = r.user.fullname(session[:ip]) %>
              <%row_span = @assignment.varying_rubrics_by_round? ? (@rspan_round_one + @rspan_round_two + @rspan_round_three) : @rspan %>
          <%# If no  feedback has been submitted, rowspan is seen as 0, then rowspan manually set to 1 so that it takes up its own row.%>
            <% if row_span == 0 %>
            <%# Rowspan manually set to 1 to represent an empty row. %>
              <tr><td rowspan = <% 1 %>>
                <%= link_to @reviewer_name, :controller => 'popup', :action => 'reviewer_details_popup', :id => r.id, :assignment_id => @id %>
  