4 little filters would do it:
Show top 100 legions
Show legions with X average rank
Show legions with X average strength (X being the input, default at your own rank/strength)
And a 4th filter of show/hide full legions which'd be separate.
This comes back to an old thread of mine:
viewtopic.php?f=6&t=15587&view=previous