Hi all,
Bug #3062455 (Functions/Procedures should come first in export), suggest to export functions and procedures before views, because on import, on error might occur when a view uses a function/procedure that is not existent.
Now, the export of Functions/Procedures/Events is done in PMA_exportDBFooter(). Is there any specific reason why they are exported last? Otherwise, I'll move them to PMA_exportDBCreate(), and test if it works.