Use a loop to create new product object to test the sorting is right or
not.