I am just wondering how i would convert a string, such as "hello there hi there", and turn it into a dictionary, then using this dictionary, i want to count the number of each word in the dictionary, and return it in alphabetic order. So in this case it would return:
[('hello', 1), ('hi', 1), ('there', 2)]
any help would be appreciated