A company charges $7 for a T-shirt and ships any order for $22. A school principal ordered a number of T-shirts for the school store. The total cost of the order was $1,520. How many T-shirts did the principal order?

Let x be the number of T-shirts ordered.

The cost of the T-shirts is 7 * x = 7x.
The total cost is 7x + 22 = 1520.
Thus, 7x = 1498.
Therefore, the principal ordered x = 1498 / 7 = <<1498/7=214>>214 T-shirts. Answer: \boxed{214}.