That's the algorithm of Facebook and Tik Tok but on Facebook it's more obvious that when you like a comment or reply to a comment, those comments will be displayed at the top like that. Prioritizing these things that have significant interaction and encourage people to update the latest information