A sorting callback is now handled by a closure instead of an old-school array-type reference.