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: happy sailed women long sleeve ruffle layer
Product list:
A: Happy Sailed Women Summer Halter Neck Dress Floral Print Bohemian Beach Dresses Black Small
B: Happy Sailed Women Long Sleeve Ruffle Layer Backless Swing Mini Dresses Small Green
C: Happy Sailed Womens Dress Floral Printed V Neck Sleeveless Ruffle Layer Backless Swing Mini Short Dresses,Medium Green
Answer: B,A,C