Instruction: Rank the products A, B, C, ... based on their relevance to the provided query, and produce a ranked list with the most relevant product positioned at the top of the list.

Input:
Query: 18 month baby girl dresses
Product list:
A: Luvable Friends Baby Girls' Cotton Dress, Floral, 12-18 Months
B: Simple Joys by Carter's Girls' 3-Pack Snap-up Rompers, dino/floral/Snail, 18 Months
Answer: A,B