Description

Orders the rows in a set, with an optional limit on the number of rows to return

Example

Find the 10 instances with the highest number of sessions

instance->i{}/total_session_count/orderby('desc', 10)

Order the instances based on memory_usage

instance->i{}/memory_usage/orderby()

Syntax

expression/orderby(sortorder, limit)

Parameters

Type Description
Expresssion Expression that gives the rows to sort
sortorder ‘desc’ or ‘asc’, default is ‘desc’
limit The number of rows to return, default is no limit

← replace function / The FString format →

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment