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: dickies work pants 874 original fit
Product list:
A: Dickies Men's Skinny Straight Fit Work Pant, Black, 29x30
B: Dickies Men's 13 Inch Loose Fit Multi-Pocket Work Short, Black, 38
Answer: A,B