
Shopify's collection page sorting order "Best Sellers" is an algorithm that is determined not by the number of items sold but by the number of orders that include that item, so an item that was sold one unit at a time in three orders will be ranked higher than an item that was sold four units in one order.
How Shopify Best Sellers Work
