I have 2 sorted set acting as ranking. I want to get the top 5 from the union between them. the scores are the same.

```
zadd rank1 1 aaa
zadd rank1 2 bbb
zadd rank1 3 ccc
zadd rank1 4 ddd
zadd rank2 1 aaa
zadd rank2 2 bbb
zadd rank2 3 ccc
zadd rank2 4 ddd

```

What is the best approach to do so?

```
ZUINON 10 rank1 rank2 AGGREGATE MAX 5 

```

I would assume something like that, but `max 5` doesn't exists.

**EDIT**
Just figured out that even `ZUNION` wouldn't help as my redis version is 6.0.5 and not 6.2.0