Use The Section Api To Dynamically Render The List Of Collection Items But The Result Is Confusing

Use the section api to dynamically render the collection product list but the result is inconsistent with the shopify admin collection product list.

Shopify admin collection list:

Collection list:

From the above two screenshots, it is obvious that when sortby is equal to bestselling, the first item in the shopify admin’s collection list is inconsistent with the first item in the collection list. I don’t understand why shopify is returning inconsistent data and it’s driving me nuts. Can someone analyze it for me?

You can visit crystal-ceiling-fan to select sortby bestselling testing. This is a sporadic problem, sometimes good and sometimes bad.