sort the product version being persisted