Sort strings by number of characters
Hi folks,
I would like to sort strings on MS Word based on their lenght in characters. For example, consider the following unordered array:
This string is short
This string is kinda big
This string is a really big one
This string is medium
I would like it to be ordered as follows, according to the number of characters (including spaces) in each string:
This string is short
This string is medium
This string is kinda big
This string is a really big one
Can someone help me?
|