Added testing for Thread.sortByDate().