Query to Sort a text/string

I want to sort a field which is a text/string. Getting error. Can someone help me with writing it?

It needs to be a keyword type.