package group rearrange