Activities Report - sort by Activity Type does not work and throws fatal...

... if Section Header checked https://issues.civicrm.org/jira/browse/CRM-15694