input: Write a function to take a list of strings as input and return the list sorted alphabetically. The function should modify the original list in place using the 'sort' method and then return the sorted list.
  
  def sortAlphabetically(strings): 
      strings.sort() 
      return strings 
  
  assert sortAlphabetically(["hello", "world", "good", "morning", "programming"])==["good", "hello", "morning", "programming", "world"]
  assert sortAlphabetically([])==[] 
  assert sortAlphabetically(["apple", "banana", "cherry", "date"])==["apple", "banana", "cherry", "date"] 
  assert sortAlphabetically(["zebra", "ant", "bee", "cat"])==["ant", "bee", "cat", "zebra"]
output: def sortAlphabetically(strings): 
      strings.sort() 
      return strings