A drugs gang who sold multiple kilos of heroin and cocaine across Birmingham has been jailed for a combined total of more than 77 years after a major investigation sparked by an attack from a rival gang.