@classmethod
    def sort_menus(c):
        for name in c.items:
            if not c.sorted[name]:
                c.items[name].sort(key=lambda x: x.weight)
                c.sorted[name] = True
sort_menus goes through the items and sorts them based on
dataset/ETHPy150Open borgstrom/django-simple-menu/menu/menu.py/Menu.sort_menus