Collator now works with 3D arrays