I was unable to change / modify the code so that the Product Varaiants be sorted in particular order so that all the produts are dispalyed with same order of Attributes. Presently the attribute values are randomly ordered.
The Sequence number associated with Attributes helps only to sort the List view of Attirbute Values but when used within the codes, it is unable to sort. Please help to modify the code.