Instruction: Analyze the query and each product title. Sort the products in descending order based on their relevance to the query. The most relevant product should be at the top of the list, and output the ranked list.

Input:
Query: grave flowers
Product list:
A: I Love You Dad - Engraved in a Heavy Little Rock
B: 8 Bundles Artificial Lavender Flowers Outdoor Fake Flowers for Decoration UV Resistant No Fade Faux Plastic Plants Garden Porch Window Box Decor (Purple)
Answer: B,A