Fixed sorting of journal entries within the same date