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: high power headlamp 3xt6
Product list:
A: Brightest Headlamp 8000 Lumen CREE XHP70 LED Super Bright Headlamp Rechargeable High Power Zoomable Waterproof 3 Modes Batteries Included,Support Power Output,Best for Outdoor Camping Fishing
B: Amazon Basics 20 Pack AAA High-Performance Alkaline Batteries, 10-Year Shelf Life, Easy to Open Value Pack
Answer: A,B