Swift How to sort a dictionary by value with Swift Every now and then you might need to sort a dictionary by value, luckily, dictionary comes with a sorted method built in. I am going to use the following dictionary as an example: let dictionary = [ "a": "A", "b": "B", "c"