The sort function takes two arguments:
This example is sorting an array of String values, and so the sorting closure needs to be a
function of type (String, String) -> Bool.
One way to provide the sorting closure is to write a normal function of the correct type,
and to pass it in as the sort function’s second parameter: