Padding sequences appeared in wrong order

Padding sequence PAD1 was erroneously appearing before PAD0.