Nope that doesn't matter. kix32 will find the function regardless of whether it comes first.

I always put my functions at the bottom of the script