# Understanding Users-\>Sort by Last Active

**URL:** <https://forum.pritunl.com/t/understanding-users-sort-by-last-active/3586>\
**Category:** Pritunl\
**Tags:** pritunl\
**Created:** [October 16, 2025, 1:15pm UTC](https://forum.pritunl.com/t/understanding-users-sort-by-last-active/3586 "2025-10-16T13:15:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![carcuevas](https://forum.pritunl.com/user_avatar/forum.pritunl.com/carcuevas/32/1329_2.png) [@carcuevas](https://forum.pritunl.com/u/carcuevas)\
**Post date:** [October 16, 2025, 1:15pm UTC](https://forum.pritunl.com/t/understanding-users-sort-by-last-active/3586/1 "2025-10-16T13:15:08Z")

</div>

Hi,

I am trying to figure it out how to order the list of users which are currently connected, so I thought that ordering from “Sort By Last Active” will help with that but actually I think it’s behaving maybe in a different way, because I can see disconnected users in the middle…

 ![image](https://forum-static.pritunl.com/original/2X/8/8f6f4f92bae880ba09f483b9bcfdfb6af8b63c1a.png)

Version: **v1.32.4349.59**

Plan: \*\*Enterprise\*\*

Is there any way to show the connected users first, and then to show the last disconnected users?

Thanks very much.

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [October 16, 2025, 8:54pm UTC](https://forum.pritunl.com/t/understanding-users-sort-by-last-active/3586/2 "2025-10-16T20:54:48Z")

</div>

The following search keys are available.

- `status:online` - all online users
- `status:offline` - all offline users
- `id:<user_id>` - search by user ID
- `group:<group_name>` - search by group name
- `email:<email_address>` - search by email address

---

<div class="post-metadata">

**Author:** ![carcuevas](https://forum.pritunl.com/user_avatar/forum.pritunl.com/carcuevas/32/1329_2.png) [@carcuevas](https://forum.pritunl.com/u/carcuevas)\
**Post date:** [October 16, 2025, 9:00pm UTC](https://forum.pritunl.com/t/understanding-users-sort-by-last-active/3586/3 "2025-10-16T21:00:55Z")

</div>

Sorry didn’t know about this… My bad !! thanks
