On the orders of primitive linear p'-groups