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: flash drive for iphone for photos
Product list:
A: Case Logic JDS-2 USB Drive Shuttle 2-Capacity (Black/Blue)
B: WD 2TB Elements Portable External Hard Drive HDD, USB 3.0, Compatible with PC, Mac, PS4 & Xbox - WDBU6Y0020BBK-WESN
Answer: A,B