It's HP, Attack, Defense, Sp. Atk, Sp. Def and Speed (Same order as they are in the Pokemon's status menu) - I originally had it the other way around (That's the order they are internally), but changed it around since it was a little confusing to some people that it was different on each menu.