Instruction: Given a query and a list of products denoted as A, B, C, ... with their titles, rank the products according to their relevance to the query. Output only a ranked list in which the most relevant product is at the top of the list.

Input:
Query: livestock water float
Product list:
A: Little Giant Trough-O-Matic Stock Water Tank Float Valve Controlled Watering Tank with Aluminum Housing and Expansion Brackets (Item No. TM830T)
B: 2 Pieces 1/2 Inch Water Float Valve, Side Entry Water Float Valve Plastic Float Valve for Automatic Control of Water Level in Water Tank and Pool
C: Float Ball Valve, 1/2 Inch Supply Tube Male Automatic Fill Feed Humidifier Tank Water with Adjustable Arm for Ponds, Livestock Water Trough, Aquariums, Aquaculture, Hydroponics and Reservoir (2 Pack)
Answer: C,A,B