array subset comparison