Implemented sorting threads by relevance/user score. Successfully tested.