Instruction: Given a query and a list of products denoted as A, B, C, ... with their titles, rank the products according to their relevance to the query. Output only a ranked list in which the most relevant product is at the top of the list.

Input:
Query: outside battery small christmas tree
Product list:
A: Best Choice Products Set of 2 24.5in Outdoor Pathway Christmas Trees, Battery Operated Pre-Lit Holiday Decor for Driveway, Yard, Garden w/LED Lights, Red Berries, Frosted Pine Cones, Red Ornaments
B: National Tree Company Pre-lit Artificial Mini Christmas Tree | Includes Small LED Lights, White Tipped, Glitter Branches Cones and Cloth Bag Base | Glittery Bristle Pine-2, 2 Foot, Green
Answer: B,A