Issue #2325411 by DuaelFr: Order plugins by weight instead of name