With the priority method being used, do you have to place the abilities on keys in game or can I make one isboxer key with no steps but all abilities crammed onto it?

i.e.

/cast 1
/cast 2, 2, 3, 2
/cast 4, 5

or does it have to be on actual hotkeys in WoW?