The execution of callbacks which are triggered by the same event follows the reversed order of definitions.[2]
[2] The reason: System components use the same mechanism and normally register callbacks before the application. Often the RESET event causes a system component to deallocate memory. If the application also has defined a callback on the same event, it might occur that the application tries to operate on deallocated memory area.