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: family costumes
Product list:
A: Rock, Paper, Scissors Adult Costume Standard
B: #followme Glow In The Dark Skeleton Boys Jumpsuit 6541-3T
Answer: B,A