CRM-15604 Fix up Group Sort Order in CiviMail when using multisite extension
Merge pull request #4566 from seamuslee001/group_order-4.4

CRM-15604 Fix up Group Sort Order in CiviMail when using multisite exten...
CRM-14246 - event on behalf - alter function that assigns events to cope with string or array