new partition reorder code