The #sort_by block tells the engine which field to use when sorting an item.
The #sort block gets called with the 2 items being compared and the block
should return how the items compare (-1, 0, 1).

John