Sorting after intersect with

I’m intersecting two data points, and I can’t figure out how to sort the repeating by most intersections first. See pictures:


How/where/can I make is sort by highest amount of intersections first?

Let me know if I was unclear.
Thanks in advance!

I think you want to use the :grouped by operator

Thanks for the reply!

I’m fairly new to bubble, and I don’t really get how that would work.

How exactly does that work?