Sorting performance can be speed up dramatically by reducing the number of keys. One way to do this is to consolidate adjacent string keys into a single range provided to the sort utility.