remove out-of-date code
update the way new comments are inserted
Revert "reverse comments order"

This reverts commit 0e748a48c7f621e0efab2f5ce184d92a5b6d369c.