rearrange sorted display