getCommiterDate()->format('H'); $this->items[$hour][] = $commit; } public function sortCommits() { ksort($this->items); } }