input: Write a python function to get and sort words from a given text.
  assert get_words("the quick brown fox") == ['brown', 'fox', 'quick', 'the']
  assert get_words("hello world hello") == ['hello', 'hello', 'world']
  assert get_words("a b c a b c") == ['a', 'a', 'b', 'b', 'c', 'c']
output: def get_words(text):
      words = text.split()
      words.sort()
      return words