say for example if you have two table MASTER and DETAILS all the entries in DETAILS refer MASTER then
add syncadapter of MASTER into synadapter collection then DETAILS adapter. You can also simply create config file any specify all the tables in order and read it from config. so that if something change you can quickly change the config to address issue.