can elasticsearch sorting handle full text like "microsoft office"
Welcome!
Yes it can. You need to use the keyword data type. This is happening by default when you index a document with the default mapping.
You can search in message field for example and sort on message.keyword.