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: joy inside out wig
Product list:
A: MapofBeauty 12"/30cm Role Playing Hair Cosplay Short Wig (Light Blue)
B: Inside Out Joy Blue Costume Wig
Answer: B,A