User API attribute related issue

Hi,

I'm using User API which is mentioned below:

#set ($users = $core_v2_user.List("%{SortOrder = 'Descending', SortBy = 'LastActiveDate' }"))

to get the user and sorting it by "LastActiveDate" but didn't get anything on Page When I checked by publishing user count ex:- $users.TotalCount then getting "0"

But if I use any other value except "LastActiveDate" then It works

#set ($users = $core_v2_user.List("%{ SortOrder = 'Descending', SortBy = 'RecentPosts' }"))

Is there any API related issue with "LastActiveDate" value?

Please help me out with this.

Thanks!

Rahul Jetli



Putting specific subject
[edited by: Rahul Jetli at 8:18 AM (GMT 0) on Mon, Feb 10 2020]