Sort the module instance's export functions with the function name, and use binary search to lookup the wasm/aot function.