item_id required default (none - required)Long id of the item whose sort key you want; the key spans from this item up to its tree root. Must be a single, resolvable long id - an empty value raises a fatal error, and an id that matches no active item yields just the bare prefix A. Short ids and dash-joined id lists are not supported here.
relation_field optional default relation........Field that links each item to its parent, defining the tree to walk. Use the field id, for example relation.......1 for a second relation field.
expression optional default (empty - uses the short item id)Template evaluated on each item in the branch to produce that step ordering value before it is sortid-encoded; for example a field-getter like {headline........} or an alias. When omitted, the item short id is used. Do not put a literal colon in the expression - it is read as the next parameter separator.
{sortstring:5726c2c6b035d7aab450d1794e9e90d7:relation........:_#HEADLINE}
{sortstring:5726c2c6b035d7aab450d1794e9e90d7:relation.......1}
{sortstring:c0ffee00000000000000000000000003:relation........:headline........}
{sortstring:5726c2c6b035d7aab450d1794e9e90d7::_#HEADLINE}
{sortstring:5726c2c6b035d7aab450d1794e9e90d7::headline........}
{sortstring:5726c2c6b035d7aab450d1794e9e90d7}
{sortstring:00000000000000000000000000000bad}