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