input: Write a function to sort a list of strings alphabetically. If the list is empty, return None. Use the sorted function or list.sort() for sorting but ensure the function works correctly taking a list of strings and returning the sorted list.
  def sortAlphabetically(strings): 
      if not strings: 
          return None 
      strings.sort() 
      return strings 
  
  assert sortAlphabetically(["hello", "world", "good", "morning", "programming"]) == ["good", "hello", "morning", "programming", "world"]
  assert sortAlphabetically([]) == None
output: def sortAlphabetically(strings): 
      if not strings: 
          return None 
      strings.sort() 
      return strings