Swap the order in which arrays and arrays sizes are passed.

Sizes now come first.