switch arg order

most array utilities have the array as the first argument
Merge pull request #1 from jkroso/patch-1

switch arg order