Sorting people list automatically

Is there any way to automatically sort the "PEOPLE" list? Either sorting alphabetically or by last interaction time.


5 answers

If you're using OSX, you can make this happen by editing, and adding this line to the start of the orderRooms function (which in version is at line 113966):

rooms = _.sortBy(_.values(rooms), ['name']);

Dude thanks for this! I can't believe this isn't a feature.  I have 0 coding experience and figured out where to paste after a few attempts.  Thanks again! 

FYI, for you Windows users, you can do the same thing in this file:


Make the change immediately after these lines:

        key: 'orderRooms',

        value: function orderRooms(rooms) {


it works! :) However last interaction would be more useful. Any idea if room has sth like last modified time? 

How do I access this?? @James Phillpotts @Joe Tustin

Where do I enter the following string on Mac?! How can I edit the app?


Thanks in advance..

How  to do the same, but ignorig case?

Upvote this feature for Atlassian to prioritize this -

I made the change on Windows and it really makes the client easier to use.


I have also ordered by pending chats:

  1. var roomsByName = _.sortBy(_.values(rooms), ['name']).reverse();
  2. rooms = _.sortBy(roomsByName, ['unreadCount']).reverse();

Probably can be optimized ;)

This is the room structure (you can use any property for sorting):

        "topic": null,
        "admins": [],
        "participants": {
            "members": [],
            "guests": []
        "files": [],
        "links": [],
        "is_archived": "0",
        "history_fetch_ids": [],
        "show_join_leave_messages": false,
        "guest_mention_regex": null,
        "most_recent_message": null,
        "last_read_message": {
            "mid": "xxxxxxxx-xxxxx-xxxxx-xxxxxx-xxxxxxx",
            "timestamp": 234266089.759309
        "avatar_url": "",
        "roster_size": 0,
        "participants_fully_initialized": true,
        "presence": {
            "show": "unknown",
            "status": "",
            "seconds": "",
            "idleTime": ""
        "unreadCount": 0,
        "unreadCountTemp": 0,
        "unreadMentionCount": 0,
        "unreadMentionJustMeCount": 0,
        "isUpdatingUnreadCount": false,
        "hasMention": false,
        "files_fetched": false,
        "links_fetched": false,
        "jid": "",
        "type": "chat",
        "id": 546456,
        "name": "xxxxxxxx"

1 vote

There's no way to automatically sort the list of people on the left side currently, but we are consistently looking into options to better organize the list of chats (particularly for people who keep a lot of tabs open). It's possible that alphabetical and last-active sort will be an option in the future

The only way I keep people organized at the moment is to clear out everyone in my "people" tray each week. Is there a better way to keep track of recent conversations?

One option I've seen a number of people use is to always close 1-1 chats after you're done with any given conversation (or even after you send any message). We are working on providing persistent tracking for unread messages between sessions as well, which will hopefully help tracking recent updates.

Still no way to do this alphabetically?

Very useful feature -please add. 

Please upvote this feature request:

Thanks Chris. Working in an team with over 500 people it's a huge pain to keep the list organised.

Solution: Convince your company to use Slack.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 14, 2018 in Hipchat Cloud

Hipchat Cloud and Stride have reached End of Life (updated)

All good things come to an end - thanks to all our customers and partners who have been along the Hipchat and Stride journey with us.  As of Feb 15th 2019, Hipchat Cloud and Stride have reached ...

32,464 views 7 7
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you