input: Write a python function to get the status codes of a list of URLs and sort them in descending order.
  assert get_sorted_status_codes(['www.example.com', 'www.example.net', 'www.example.org', 'www.example.io']) == [('www.example.com', 200), ('www.example.net', 200), ('www.example.io', 200), ('www.example.org', 200)]
  assert get_sorted_status_codes(['www.google.com', 'www.nonexistenturl.xyz']) == [('www.google.com', 200), ('www.nonexistenturl.xyz', 404)]
  assert get_sorted_status_codes(['www.github.com']) == [('www.github.com', 200)]
output: import requests
  
  def get_sorted_status_codes(urls):
      status_codes = []
      for url in urls:
          try:
              response = requests.get(f'http://{url}')
              status_codes.append((url, response.status_code))
          except requests.RequestException:
              status_codes.append((url, 404))
      status_codes.sort(key=lambda x: x[1], reverse=True)
      return status_codes