Online friends & online characters from player account
Online non-friends
Offline friends & offline characters from player account
Offline non-friends
The ordering within groups is from last to join to first to join; because in JS sets preserve insertion order and sorting is stable.
Right now, the useMemo is kinda useless because characters changes everytime someone moves around in the space, causing the whole component as well as the useMemo to run again. I think it might be a good idea to separate the Character type in two in order to avoid re-rendering the whole component when the list hasn't changed.
Fixes #716
The proposed order is
The ordering within groups is from last to join to first to join; because in JS sets preserve insertion order and sorting is stable.
Right now, the useMemo is kinda useless because
characters
changes everytime someone moves around in the space, causing the whole component as well as the useMemo to run again. I think it might be a good idea to separate the Character type in two in order to avoid re-rendering the whole component when the list hasn't changed.