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: hideabed mattress
Product list:
A: Night & Day Furniture Murphy Cube Cabinet Bed, Queen, Cherry
B: Classic Brands Cool Gel Memory Foam 8-Inch Mattress | CertiPUR-US Certified | Bed-in-a-Box, Twin XL
C: Home Sweet Home Dreams Hypoallergenic Down Alternative Bed Mattress Topper, 2" H, Twin
Answer: C,B,A