Sort Block

A sort block takes two elements of the collection as parameter and should return a boolean describing if the first one should be before the second one. github