Someone with worse rank than you ,beat you , his rank goes up , while yours goes down .
Someone with better rank than you ,you beat him , his rank goes down , while yours rise .
Someone active , strive their rank to the top . while the inactive one rank stay beaten up.
Someone inactive , stop their rank where they are . while the active one be better .
That's how it work i think