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 x unlocked
Product list:
A: Apple iPhone 7 Plus, US Version, 128GB, Black - Unlocked (Renewed)
B: (Refurbished) Apple iPhone 11 Pro, US Version, 256GB, Midnight Green - Unlocked
Answer: B,A