Instruction: Evaluate the relevance of each product title in the input to the given query, and then sort the products in descending order of relevance, placing the most relevant product at the top of the ranked list.

Input:
Query: work uniform pants
Product list:
A: Chef Works Women's Essential Baggy Chef Pants, Black, Medium
B: Chef Works Women's Cargo Chef Pants, Black, Medium
C: CQR CLSX Men's Tactical Pants, Water Repellent Ripstop Cargo Pants, Lightweight EDC Hiking Work Pants, Outdoor Apparel, Duratex Ripstop Black, 34W x 30L
Answer: A,C,B