sort comments by time