To reduce the number of I/Os performed when you create an index, first sort the data by the key variable. Then to improve performance, maintain the data file in sorted order by the key variable. If the data file has more than one index, sort the data by the most frequently used key variable.