You questioned and answered on your own!

No, I still have not got the answer of this

Why it's needed?
I am curious to know the reason for the sorting. I guess this creates two possible metric...
1. Sorting by total number of merits a topic received (including it's replies)
2. Sorting by total number of merits only the topic post have