Create a db index for the product sorting fields

Improves performance by creating an indexes for the sorting fields.