#Write a Python program to convert the Python dictionary object (sort by key) to JSON data. Print the object members with indent level 4.
import json
p_str={'4': 5, '6': 7, '1': 3, '2': 4}
j_dict=json.dumps(p_str,sort_keys=True,indent=4)
print(j_dict)