Ash fights someone before Stephan, so Trip still doesn't really make it into the Top 100, but Ash and Stephan are both in the top 32 when their battle takes place (from what I've seen). I haven't seen a gap between Kotetsu and Stephan's battles with Ash yet so Kotetsu is in the top 16 and will continue to top 8 with Virgil. Considering there is one episode left to be unveiled before the N Arc as the Anime is taking a 2 week break which are the episodes we'd need to fill in the complete Unova league, it may end with Virgil vs Ash. Since that is the last episode, going off what has happened in the past, Ash will lose to Virgil and they'll do a synopsis finish since every battle after that is no longer important to the story since they don't include Ash.
So looks like Top 8 or so for Ash. Unless there are two skipped battles before Virgil's battle and Ash faces Virgil in the finals.
But as the new episodes reads Episode 769: Unova League Conclusion! Lucario VS Pikachu!! It sounds like Ash will lose before he gets to Virgil.
Unless that the battle between them ends early in that episode and he faces Virgil and gets beat in the same show.