Instruction: Evaluate the relevance of each product title in the input to the given query, and then sort the products in descending order of relevance, placing the most relevant product at the top of the ranked list.

Input:
Query: gourmet tea cookies
Product list:
A: Numi Organic Tea By Mood Gift Set, 40 Count Tea Bag Assortment - Premium Organic Black, Pu-erh, Green, Mate, Rooibos & Herbal Teas (Packaging May Vary)
B: Davids Cookies Gourmet Cookies Butter Pecan Meltaway  32oz Butter Cookies with Crunchy Pecans and Powdered Sugar  All-Natural Ingredients  Kosher Recipe  Ideal Present for Special Occasions
Answer: B,A