switch arg order

most array utilities have the array as the first argument