Fixed sorting for test_products.py