Group results by branch.