Pokémon Black Version and Pokémon White Version - Pokémon Order
For the purposes of the move Beat Up and the Ability Illusion, the order of Pokémon initially corresponds to how their controller listed the Pokémon as the battle began. When a Pokémon leaves the battle and another Pokémon takes its place, both Pokémon swap their positions in the list.