Instruction: Evaluate each product title in the given list, assess its relevance to the given query, and then arrange the products in descending order of relevance, with the most relevant product at the top of the ranked list.

Input:
Query: revenge of the nerds costume
Product list:
A: Revenge of the Nerds Nerd Costume Mens Sublimation Shirt White XL
B: Shiratori New Vintage Fashion Half Frame Semi-Rimless Clear Lens Glasses Black
Answer: A,B