>>>list = []
>>>stringsandnumbers = input('Enter in the values. For example, "A=3,B=2,C=1,D=5"... ').split(',')
>>>list.append(stringsandnumbers)
>>>list.sort()
>>>print(list)
[[A=3,B=2,C=1,D=5]]
The problem with this is that it is not sorting the list from min to max. I'm not sure if splitting/separating it would be a good idea or if there's a way to just sort the numbers from the list? Any help would be appreciated.