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: mens swooshy shorts
Product list:
A: adidas men's Grand Court Tennis Shoe, White/Trace Blue/Active Red, 13 US
B: Nike Dri-FIT Icon, Men's basketball shorts, Athletic shorts with side pockets, Black/Black/White, M
Answer: B,A