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: firefly guitar
Product list:
A: Amazon Basics Guitar Folding A-Frame Stand for Acoustic and Electric Guitars
B: PageFlip Firefly Bluetooth/USB Page Turner Pedal
Answer: B,A