docs: def write_data(data):
      """
      Write the data to the data.json file
  
      Args:
          data (dict): The updated data dictionary for Modis
      """
  
      sorted_dict = sort_recursive(data)
  
      with open(_datafile, 'w') as file:
          _json.dump(sorted_dict, file, indent=2)