Complex list filtering

It’s tricky to make it work properly but it’s possible.

Here some useful ideas: