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: amish costume
Product list:
A: Funny Costume Party Male Man Halloween Beard Facial Hair Disguise Game Black Mustache
B: GRACEART Pilgrim Pioneer Colonial Girl Costume Accessories 100% Cotton Apron & Bonnet (US Size-08,Bonnet & Apron)
Answer: B,A