is there some way to give me the order in which inserts should be made so all FK constraint are met?
If you are sure enough that all constraints would be met..You can think off turning off the foreign key checks and after making sure that all constraints are ok, you can turn on foreign key checks.
You can write a script to verify that if all constraints are ok. 

use  following to turn off foreign key checks  


  set foreign_key_checks=0  


use following to turn on checks again after necessary verification


  set foreign_key_checks=1


Hope it helps