Ordering can be set by providing an array of the fields we want to order with.
In the example above, we are ordering the results by
amount_ASC. This mean we want to sort in ascending order on field
amount_ASC. If we want to sort in descending order we can specify
All the sort fields can viewed in GraphQL playground as well.
The number of data points returned by the query can be limited by setting the
limit field as follows.