Rearrange packages