First I would ask dev to set product position on the page in dataLayer.
Example:digitalData.product = [{ productInfo: { productID: "10001",
manufacturer: "Samsung", productName: "Smartphone12", position = 1 },
category: { productType: "xx", primaryCategory: "xx" } }, { productInfo:
{ productID: "10002", manufacturer: "Apple", productName:
"SmartphoneXY", position = 2 }, category: { productType: "xx",
primaryCategory: "xx" } }, { productInfo: { productID: "10003",
manufacturer: "Nokia", productNa...