fix issue with product variants not able to sort