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: firefly guitar
Product list:
A: Amazon Basics Guitar Folding A-Frame Stand for Acoustic and Electric Guitars
B: Gretsch G2622 Streamliner Center Block Single Barrel Stain w/V-Stoptail & Broad'Tron Pickups
Answer: B,A