Use of lambdas for the sorting of items on death.