We’ve improved pagination for the WorkOS API resources with the addition of an `order` query parameter that will allow you to sort the returned data in an ascending or descending order.
Check out the pagination section in the API Reference for instructions on how to use it.