10. Block arg to function 

my @recommendations =
    map { $_->as_html }
    sort { $b->star_rating <=> $a->star_rating }
    grep { $_->stock_available }
    @all_products;