Can I Arrange Objects from Shortest to Longest?

I'm wondering if there is a way to arrange all objects from shortest to longest without having to do it manually? Maybe a Macro? (Which I am a beginner at.) I work with names a lot, sometimes hundreds at a time, and I need to arrange them Like this. Doing that takes a lot of time and it seems like there is a better way. Does anyone know of anything I could do? Attached is a picture of what I'm trying to achieve. Thanks!