de/reindex arbitrary set