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: hanes baby onesies
Product list:
A: Hanes Ultimate Baby Flexy 4 Pack Knit Pants, Pink/Grey Stripe, 12-18 Months
B: Hanes Ultimate Baby Flexy 5 Pack Short Sleeve Bodysuits, Blues, 6-12 Months
Answer: B,A