Ordering text values

Hello everyone, what do I need to use to read the text value/s that inserted into a text object/s. So let’s say I can order them a-z or even change them? I wonder