Added sorting for products table