Has any run into an issue when creating a custom collection with a manual sort order? I've developed an algorithm to sort personal custom collections for our customers, but while they are sent in with positions, they don't appear in the proper order based on those positions. Seems like they end up in a random order.
The JSON looks like this:
Most of the feeds are a couple hundred items, and while I would expect the ones that have position 1, 2, 3, etc to appear first, second, third, they don't. They're just in totally random positions.
Figured this out myself. But in case anyone runs into the same issue as me, the problem was when I was creating the custom collection, I was not setting the sort order type (which defaulted it to Best Selling). I was setting the sort order to manual when I actually added the items to the collection, but it wasn't taking effect on the items that I was adding at that time. Changing the sort order does not seems to have any effect if it's done in the same call as when you add items.