function updateSortArrows() {
    // The sort.key will always be the same as an id for
    // one of the three fields in the table
    $('.httpSummaryTableHeader span').html('');
    let arrow = arrowDown;
    if (sort.reverse) {
      arrow = arrowUp;
    }
    $('#' + sort.key + ' span').html(arrow);

    // Update the active element and give it a border
    $('.httpSummaryTableHeader').removeClass('active');
    $('#' + sort.key).addClass('active');
  }
// Function to update which arrow is shown on the screen to indicate sorting
Function to update which arrow is shown on the screen to indicate sorting
Function to update which arrow is shown on the screen to indicate sorting
function updateSortArrows() {
    $('.httpSummaryTableHeader span').html('');
    let arrow = arrowDown;
    if (sort.reverse) {
      arrow = arrowUp;
    }
    $('#' + sort.key + ' span').html(arrow);
    $('.httpSummaryTableHeader').removeClass('active');
    $('#' + sort.key).addClass('active');
  }
function updateSortArrows ( ) { $ ( '.httpSummaryTableHeader span' ) . html ( '' ) ; let arrow = arrowDown ; if ( sort . reverse ) { arrow = arrowUp ; } $ ( '#' + sort . key + ' span' ) . html ( arrow ) ; $ ( '.httpSummaryTableHeader' ) . removeClass ( 'active' ) ; $ ( '#' + sort . key ) . addClass ( 'active' ) ; }
Function to update which arrow is shown on the screen to indicate sorting
Function to update which arrow is shown on the screen to indicate sorting
// The sort.key will always be the same as an id for // one of the three fields in the table // Update the active element and give it a border