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: SanDisk Ultra 64GB USB 3.0 OTG Flash Drive With micro USB connector For Android Mobile Devices(SDDD2-064G-G46)
B: PNY Duo-Link On-The-Go 16GB USB Flash Drive for iPad (P-FDI16GOTGA-GE)
C: Case Logic JDS-2 USB Drive Shuttle 2-Capacity (Black/Blue)
D: WD 2TB Elements Portable External Hard Drive HDD, USB 3.0, Compatible with PC, Mac, PS4 & Xbox - WDBU6Y0020BBK-WESN
Answer: B,A,C,D