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: iphone xs used
Product list:
A: (Refurbished) Apple iPhone X, GSM Unlocked, 64GB - Space Gray
B: (Refurbished) Apple iPhone XS Max, US Version, 64GB, Silver - Unlocked
Answer: B,A