Sort userlist after rank and alphabetical
maxaudron opened this issue · comments
Sort the userlist after rank and alphabetical as a fallback, like most IRC clients do.
1. @
2. %
3. +
4.
Done in c3ccc6d
The only downside is that that is done on each join/part but for all users. So all users are sorted whenever one joins or leaves. The sorting is kept light by using a sorted set. Still, the underlying flaw comes from just sending all users on every join/part. This could be updated by just sending the user delta (i.e. just send the one(s) who joined/parted), and then inserting that one in the already sorted list in the frontend, instead of always completely replacing the existing list in the frontend. But it's fine for now, as there are only about 200 users anyway.