1. A method, comprising: performing an operation on a database table comprising an index that is set on a column, wherein the operation scrambles index keys out of order and wherein the index keys are associated with duplicate values in the column; and reordering, using an in-place index sort, the index set on the column in the database table, wherein the reordering unscrambles the index keys.