Merge commit 'dm/experimental' into test branch
[vuplus_dvbapp] / lib / python / Components / PluginComponent.py
index 93b0890..c6ad584 100755 (executable)
@@ -122,8 +122,8 @@ class PluginComponent:
 
                for x in where:
                        res.extend(self.plugins.get(x, [ ]))
-
-               return  res
+               res.sort(key=lambda x:x.weight)
+               return res
 
        def getPluginsForMenu(self, menuid):
                res = [ ]