MySQL Table structure and data export – Script sequence is not correct

When I export the data and structure of my MySQL database to a file, I notice that the table sequences in the output file are not correct. For example the script of a child table is put before the master table. Incase of MSSQL that is not the case. Any idea how that can be corrected?

MySQL80 MySQL Workbench 8.0