def METHOD_NAME(
    verify_unpaged, comment_factory, input, expected_comment_text
):
    comment1 = comment_factory(text="t1")
    comment2 = comment_factory(text="t2")
    comment3 = comment_factory(text="t3")
    comment1.last_edit_time = datetime(1991, 1, 1)
    comment2.last_edit_time = datetime(1991, 1, 2)
    comment3.last_edit_time = datetime(1991, 1, 3)
    db.session.add_all([comment3, comment1, comment2])
    db.session.flush()
    verify_unpaged(input, expected_comment_text)