-- syntax:
ALTER INDEX <index_name> REBUILD REVERSE;
-- this example rebuilds idx_sales_region so that the bytes
-- of the index block are stored in reverse order:
CREATE INDEX idx_sales_region
ON index_demo (person_id);
SELECT index_name, index_type
FROM user_indexes;
ALTER INDEX idx_sales_region REBUILD REVERSE;
SELECT index_name, index_type
FROM user_indexes;