Generate a python code to sort a dictionary in descending order by its values
d = {"a": 23, "b": 70, "c": 10}
sorted_d = dict(sorted(d.items(), key = lambda kv:(kv[1], kv[0]), reverse = True))
print(sorted_d)