array2d make a copy if the order changes. Is it what you intend here?