Views:
Question:
Can I sort the values of a Keyword field in Ascending or Descending order in workflow?

Answer: 
To sort the values stored in a keyword field, use one of the following Arithmetic Expressions.
 
Ascending order: GV_KEYWORD.Order()
Example: GV_KEYWORD.Order(3, 2, 5, 4, 1) will output (1, 2, 3, 4, 5)

Descending order: GV_KEYWORD.OrderDescending()
Example: GV_KEYWORD.Order(3, 2, 5, 4, 1) will output (5, 4, 3, 2, 1)
 
KBA applicable for both Cloud and On-premise Organizations