Forum Discussion

jaread83's avatar
jaread83
Champion
8 years ago

Online users API call - what order are these results?

Hi all,

I am using the API V1 call for online and registered users on a custom component:

<#assign users = rest("/users/online/registered?page_size=100").users />

I was wondering... how are these results ordered? I can't seem to find any clear indication of the order of the online users here. If the order is not determined... how can I tell the API call to order them in a way that I wanted (like last visit time for example).