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: rugged flex rigby 5-pocket work pant
Product list:
A: Carhartt Men's Rugged Flex Rigby Five Pocket Pant, Dark Coffee, 36W X 34L
B: Carhartt Men's Rugged Relaxed Fit Work Pant, Dark Khaki, 36W X 32L
Answer: A,B