create indexes for each sort type