How do I access the members of a TMap in a predicate for ValueSort()?

I think the lambda method is easier but I do like the look of passing a function like that for something I am using often. Thank you for the further enlightenment.