Sort Search Results
To sort user search results, pass a
field:order value to the
sort parameter when making your request. The
field is the name of the field to sort by, while order can be set to
1 for ascending order and
-1 for descending.
For example, to sort users in ascending order by the
created_at field you can pass the value
created_at:1 to the
For more information on
sort and other parameters, see the Management API Explorer documentation.