Step - order

order ยท category: Lists and ordering

Sorts the stream (Scope.local: each collection) by the by() modulators, ascending by default.

Forms

order()
order(arg1: Scope)

Example

g.v().values("name").order().to_list()   // ["josh", "lop", "marko", "peter", "ripple", "vadas"]

See also