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: legend of zelda cosplay
Product list:
A: Ya-cos Link Cosplay Hooded Hyrule Warriors Zipper Coat Jacket Green
B: Legend of Zelda Umbrella Legend of Zelda Umbrella Link Umbrella Zelda Accessory
C: Legend of Zelda Link Backpack Oxford Cloth Mix Large Capacity Cosplay Durable Travel School Bag
D: miccostumes Women's Gerudo Link Costume Cosplay Outfit Halloween(L)
Answer: A,D,B,C