def turn_off_automated_sorting
      js_file = File.join(@dirs[:output_dir], 'html_files/js/gv.compiled.min.js')
      original_content = File.read(js_file)
      # removes the automatic sort on page load
      updated_content = original_content.gsub(',sortList:[[0,0]]', '')
      File.open("#{script_file}.tmp", 'w') { |f| f.puts updated_content }
      FileUtils.mv("#{script_file}.tmp", script_file)
    end
def turn_off_automated_sorting
      js_file = File.join(@dirs[:output_dir], 'html_files/js/gv.compiled.min.js')
      original_content = File.read(js_file)
      # removes the automatic sort on page load
      updated_content = original_content.gsub(',sortList:[[0,0]]', '')
      File.open("#{script_file}.tmp", 'w') { |f| f.puts updated_content }
      FileUtils.mv("#{script_file}.tmp", script_file)
    end
By default, on page load, the results are automatically sorted by the
 index. However since the whole idea is that users would sort by JSON,
 this is not wanted here.