Instruction: Analyze the query and each product title. Sort the products in descending order based on their relevance to the query. The most relevant product should be at the top of the list, and output the ranked list.

Input:
Query: 5 inch quilting ruler
Product list:
A: O'Lipfa 11111 Ruler with Lip Edge, 5 x 24-Inch
B: ARTEZA Quilting Ruler, Laser Cut Acrylic Quilters' Ruler with Patented Double Colored Grid Lines for Easy Precision Cutting, 5" Wide x 5" Long for Quilting, Sewing & Crafts, Black & Lime Green
Answer: B,A