You can move the activity after new comment at top by updating the activity publish date and time with current date and time.Please review below mentioned code in which I have used buddy press predefined action and filter.Add following code to functions.php