Ten members of a Sheffield drug gang snared by police have appeared in court and pleaded guilty to their involvement.