resort index rearrange