BMC Software interview question

Sort the dict based on the values.