So, based on what I see, when a game is resolved, it checks to see if the next team up (on win) has a higher number of wins and if the next team down (on loss) has a fewer number of wins. That's why your team jumped up to first on their last win.
However, I could be entirely wrong and there's another algorithm being applied...