public void sortEarliestFirst() throws Exception {
RevCommit commit = add("test.txt", "content");
author = new PersonIdent("abcd", "a@b.d", new Date(
System.currentTimeMillis() + 5000), TimeZone.getDefault());
RevCommit commit2 = add("test.txt", "content2");
CommitFinder finder = new CommitFinder(testRepo);
CommitHistogramFilter filter = new AuthorHistogramFilter();
finder.setFilter(filter).find();
CommitHistogram histogram = filter.getHistogram();
assertNotNull(histogram);
UserCommitActivity[] authors = histogram