Instruction: Analyze the query and each product title. Sort the products in descending order based on their relevance to the query. The most relevant product should be at the top of the list, and output the ranked list.

Input:
Query: patrick shorts men
Product list:
A: SpongeBob SquarePants Patrick Star T-Shirt-X-Large
B: St. Patrick's Day Four Leaf Clover Tan Shorts - St. Paddy's Lucky Clover Shorts for Men: Large
C: Southpole Men's Fleece Jogger Shorts, Heather Grey Pockets, Large
Answer: B,C,A