I got objects like these (constant number of Article objects)
Article1 (Tag1, Tag2, Tag3)
Article2 (Tag3, Tag4, Tag5)
Article3 (Tag1,Tag2, Tag6)
and another type of objects (count - N):
Video1(Tag1)
Video2(Tag7,Tag8)
Video3(Tag5,Tag6)
And i want to get as output objects who got same tags, ordered by amount of similar tags:
Video1, Video3
How can i filter down Video objects, regarding to Article objects?