Build Group from array