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: boys character ties
Product list:
A: Steven Harris Men's Multicolor 8th Notes Necktie One Size Black
B: US Toy Boys aged 3+ Sequin Bowtie Red
C: Harry Potter Character Wands Designs Juniors/Womens 5 Pack Ankle Socks
Answer: B,A,C