BMC Software Interview Question

Sort the dict based on the values.