adding looser array matching for non deterministic array ordering