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: baby swings for infants up to 40lbs
Product list:
A: Graco EveryWay Soother Baby Swing with Removable Rocker, Tristan
B: Fisher-Price Infant-to-Toddler Rocker Floral Confetti, stationary baby seat and rocking chair with toys
C: Fisher-Price Deluxe Take-Along Swing & Seat
Answer: B,C,A