Which order is correct?

3 gallons > 5 quarts > 8 pints

25 quarts > 29 pints > 8 gallons

16 pints > 3 gallons > 12 quarts

Remember that 1 gallon = 4 quarts = 8 pints.

(3 gallons = 24 pints) > (5 quarts = 10 pints) > 8 pints

So the answer is first one.