npsobj_modifyvar_sort ::=
<npsobj list = "name" sortkey1 = "sortKey1" [ sortmodifier1 = sortModifier ] [ sortkey2 = "sortKey2" [ sortmodifier2 = sortModifier ] [ sortkey3 = "sortKey3" [ sortmodifier3 = sortModifier ]]] /> sortModifier ::= "alpha" | "numeric" | "ascending" | "descending" | "alpha ascending" | "alpha descending" | "numeric ascending" | "numeric descending"
This element sorts the value of the name
export variable containing a context list. See the NPSOBJ-list
instruction for a description of the meaning of the sortkey1
, sortkey2
, sortkey3
, sortmodifier1
, sortmodifier2
, sortmodifier3
attributes as well as the value of sortModifier
.
<npsobj modifyvar="set" varname="siblings" name="parent.children" /> <npsobj modifyvar="sort" varname="siblings" sortkey1="name" sortkey2="id" sortmodifier2="numeric" />