Indexing and sorting adjustments.