def sort_frames_by_age(quiz_report_frames):
    """Sorts the list of frames so that the newest
    is first, the oldest is last"""
    quiz_report_frames.sort(key=lambda x: x.submitted.max(), reverse=True)
    return quiz_report_frames
