• + 0 comments
    def person_lister(f):
        def inner(people):
            people = sorted(people, key= lambda x: int(x[2]))
            for person in people:
                yield f(person)
        return inner