After hundreds of debug processes, I've finally found the function which is used to do that. Here is screenshot:
Hey! I was wondering if there could be way such that the posts are shown in hierarchy. Like, if I reply to a post, my reply gets padded just below that post rather than at the end of all the posts.
A: This is an original Post by user A?
------B: This is a reply to the post by A.
this is just another post.
------E: Reply to another post.
@XenTerSeO thanks for pointing it out.