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: rainbow gowns for girls
Product list:
A: HJ45 Girls Dress Sequin Mesh Party Wedding Princess Rainbow Tulle Size 14,Multicolor,
B: Nidoul Kid Girls Nightgown Night Dress Unicorn Rainbow Princess Pajamas Sleepwear Nightie
C: JustVH Maternity Elegant Fitted Maternity Gown Long Sleeve Cross-Front V Neck Slim Fit Maxi Photography Dress for Photoshoot White
Answer: B,A,C