"""
module 6.       datatype
chapter 6-6.    dictionary

Question:
Write a program to sort a dictionary by value
in both ascending and descending order.

Hints:
sorted()
module: operator.itemgetter()
dict.items()
dict()
"""