A technique includes arranging perforating charges of a perforating gun into groups of adjacent perforating charges. Each perforating charge of each group is align ed in a direction associated with the group. The groups are oriented to form a phasing for the perforating gun.