move packages in front of index