Change default sort order of Okta users to descending order

Hi,

I am using List all Users API inside groups to get the users list.
https://abc.oktapreview.com/api/v1/groups/123abc1234(groupID)/users?limit=20

I need to get the users in descending order based on Created date, given example below:

|Name|EmailID|CreatedDate|
|xyz|xyz@mno.com|06-07-2019 07:31|
|abc|abc@mno.com|06-06-2019 10:30|
|def|def@mno.com|06-06-2019 09:57|

I tried below, but did not get the output as expected.
https://abc.oktapreview.com/api/v1/groups/123abc1234(groupID)/users?limit=20&sort=DESCENDING
and https://abc.oktapreview.com/api/v1/groups/123abc1234(groupID)/users?limit=20&sort=created:desc

Can someone provide any thoughts on implementing this?

Hi OKTA Team,

do you have any answer for this requirement? i have the same requirement to list the users added based on created date desc.

Thanks,
Pandi

https://devforum.okta.com/t/not-able-to-get-the-users-list-in-order-by-created-date-descending/6530/2