added sort to products.