diff --git a/src/emqx_plugins.erl b/src/emqx_plugins.erl index 86da87daa..164655d47 100644 --- a/src/emqx_plugins.erl +++ b/src/emqx_plugins.erl @@ -144,7 +144,7 @@ list() -> true -> Plugin#plugin{active = true}; false -> Plugin end - end, ekka_boot:all_module_attributes(emqx_plugin)). + end, lists:sort(ekka_boot:all_module_attributes(emqx_plugin))). plugin(AppName) -> case application:get_all_key(AppName) of