input: Write a python function to sort a dictionary by its values.
  assert sort_dict_by_values({"Red":120,"Blue":90,"Yellow":50,"Purple":75}) == [("Yellow", 50), ("Purple", 75), ("Blue", 90), ("Red", 120)]
  assert sort_dict_by_values({"Apple":5,"Banana":2,"Cherry":7}) == [("Banana", 2), ("Apple", 5), ("Cherry", 7)]
  assert sort_dict_by_values({"Car":30000,"Bike":1500,"Plane":1000000}) == [("Bike", 1500), ("Car", 30000), ("Plane", 1000000)]
output: def sort_dict_by_values(d):
      return sorted(d.items(), key=lambda item: item[1])