rearrange definition order