order
specifies whether the strings should be sorted in ascending or descending order. The default is ascending
. If the value of the data-type
attribute is text
, ascending
means that keys are sorted in alphabetical order, and descending
means that keys are sorted in reverse alphabetical order. If the value of data-type
is number
, ascending
means that keys are sorted in increasing order, and descending
means that keys are ordered in descending order.