Specifies a compound sort by providing one of more sorting expressions, ranking expressions, or both (together known as "ordering expressions"), in decreasing precedence. This node's value provides a binding to each result instance. All action inputs, in addition to the bound result, are in scope within the each
block.
...
each (r) {
sorting (r.price) {
by (Desc)
inverted
}
// compound in case of a tie
ranking (-1 * r.price)
}
...
Copyright 2025 Samsung All rights reserved