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: the amazon nightgown dress
Product list:
A: Amazon Essentials Women's Short Sleeve Scoopneck A-line Shirt Dress, Tossed Tulip Navy, XL
B: Vanity Fair womens for Under Dresses Full Slip, Lace - 22" Black, Medium US
C: Avidlove Sleepwear for Women Modal Nightgown Babydoll Nightie Full Slip Lingerie Dress (Navy Blue, L)
Answer: B,C,A