Text this: A mechanism for creating an inversion of populations of energy levels