[AOT] Ordering of functions definition is random

@mehrdadh Big thank for the fix !

1 Like