Add options to sort the index differently.