A group of teenagers have been sentenced after a violent attack involving the stabbing of an 18-year-old trans girl.