fixed comparator after adding more entries to granular date