restore order of Opaque and 3D array writing