Guides

How to sort Shopify collections by review rating

Updated October 15, 2026

Shoppers trust products with good reviews, but Shopify can't sort a collection by rating. Review apps such as Judge.me, Loox and Yotpo save each product's average rating in a standard Shopify metafield, reviews.rating. MDPositions can sort on that metafield, so your best-rated products move to the top on their own.

SortMetafield (reviews.rating), weight 7 + Recent Sales 5 + Stock Availability 3

Check that the rating is in a metafield

In your Shopify admin, open Settings → Metafields and metaobjects → Products. Your review app should have added Product rating (reviews.rating) and usually Product rating count (reviews.rating_count). If they are missing, turn on the metafield sync in your review app.

Set up the sort

Create a sort in MDPositions and add these criteria:

  • Metafield: pick reviews.rating, direction Descending, weight 7. The best-rated products come first.
  • Recent Sales, weight 5: between two products with the same rating, the one that sells more comes first.
  • Stock Availability, weight 3: a well-rated product that is out of stock goes down instead of disappointing shoppers.

Avoid the single 5-star review

A product with one 5-star review beats a product with 200 reviews at 4.8. To take the number of reviews into account too, tag the products that have enough reviews and boost that tag. See below.

Go further with MDTagPilot

MDTagPilot, by the same publisher, can tag top-rated products when Product rating ≥ 4.5 and Product rating count ≥ 10. Add a Tag Match criterion on that tag in MDPositions, and only products with a high rating and enough reviews get the boost. You can also build a Top rated collection from the tag.

Frequently asked questions

Which review apps work?

Any app that fills the standard reviews.rating metafield. Judge.me does it, Loox does it for reviews published since January 11, 2026 (contact Loox support to sync older ones), and Yotpo does it on its paid plans. Check in Settings → Metafields and metaobjects → Products that a Product rating definition exists.

What happens to products without reviews?

They go after the rated products, in both directions. The other criteria still rank them between themselves.

Which plan do I need?

The Metafield criterion needs the Starter plan or higher.

Can I sort on another metafield?

Yes. The list shows every product metafield that holds a number, a rating, an amount, a measure or a date, for example a launch date or a popularity score.

Related guides