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: pull out sofa bed
Product list:
A: GIA Tri-Fold Sofa Bed, With Pillow, Light Gray
B: Lilola Home Lucca Light Gray Linen Reversible Sleeper Sectional Sofa with Storage Chaise
Answer: B,A