input: Write a function to sort a given list of strings based on their length using the sort() method in Python. Return the sorted list.
  assert words_sort(["Hello","World!","Good","Morning"])==["Good","Hello","World!","Morning"]
  assert words_sort(["Apple","Banana","Pear"])==["Pear","Apple","Banana"]
  assert words_sort([])==[]
  assert words_sort(["Z","A","B","Y","C"])==["A","B","C","Y","Z"]
output: def words_sort(words):
      words.sort(key=len)
      return words