OpenWGA 7.6 - WebTML reference
WebTML tags » input<tml:input sortoptions ="[value,]asc | desc">
Purpose:
Sorts the options of this input
Description:
This affects all ways of determining options to WebTML inputs.
If options have titles they normally are sorted by their title. Determine the sort order by using "asc" or "desc" in the attribute. If options have no titles they are sorted by their value.
If you want your options to be always sorted by values, even if they have a title, specify "value," before the sort order descriptor in the attribute value.
Value(s):
"asc" - Sort by option titles ascending
"desc" - Sort by option titles descending
"value,asc" - Sort by option values ascending
"value,desc" - Sort by option values descending