How Can I Get the Smallest or Largest Value of a Dictionary

Below is shown how to simply get the lowest or highest value of a dictionary,
in which only the value is returned:

You can find the minimum and maximum value of a dictionary while returning the key,
so that we know which item is being referenced