Compare multiple associative arrays by both key and value.