def get_widgets(self):
    "\n        Returns a list of widgets sorted by their 'order'.\n        If two or more widgets have the same 'order', sort by label.\n        "
    return map((lambda x: x['widget']), filter((lambda x: (x['widget'] not in self.removed_widgets)), sorted(self.widgets.values(), key=(lambda x: (x['order'], x['widget'].label)))))
Returns a list of widgets sorted by their 'order'.
If two or more widgets have the same 'order', sort by label.
def get_widgets(self):
    "\n        Returns a list of widgets sorted by their 'order'.\n        If two or more widgets have the same 'order', sort by label.\n        "
    return map((lambda x: x['widget']), filter((lambda x: (x['widget'] not in self.removed_widgets)), sorted(self.widgets.values(), key=(lambda x: (x['order'], x['widget'].label)))))