Fixed log not sorted by date