It doesn't really matter which comes first if you use the client side validation.
If you want to use server validations, maybe add the upload first. That way you can validate the uploaded properties for things like file size and extension.
You may have to manually move the code so that the upload takes place before the validaiton in some cases. For instance if you are validating the file size or another variable from the uploaded bindings besides the form name, it won't be available until the upload code runs.