my_dict = {"d": "value1", "c": "value2", "a": "value3"}

keys = sorted(my_dict.keys())

for key in keys:
    print(my_dict[key])