'Sorting threads by replies.'

def test_sorting_replies(self):

    ThreadFactory(posts=[{}, {}, {}])
    ThreadFactory()
    threads = sort_threads(Thread.objects, 4)
    self.assert_((threads[0].replies <= threads[1].replies))
