Implemented and tested sorting comments in a thread according to score.