Rearrange library order.