Sort records

You can sort records Ascending and Descending. To activate sorting, you need to call .sortAsc() or.sortDesc() on a Query object and pass as string the name of the field you want to sort by.


[..]"id").execute().then( (records) => {
    //operate on your sorted records here

Advanced users:

In order to obtain deeper insights, please visit the API reference