cgeo/c-geo-opensource — comment on commit 25f31ccea856e33da2febff9a7bff83e8c08a451
File:  line 0
By Bananeweizen:

You are right. We could solve that by creating a subclass of DateComparator (e.g. EventListDateComparator), which has absolutely no additional code, but is used instead of the DateComparator in the above method. Then we can differentiate between those 2 use cases. What do you think of that?