getCommiterDate()->format('Y-m-d'); $this->items[$day][] = $commit; } public function sortCommits() { ksort($this->items); } }