sorting users and changing the visual treatment to offline/disconnected users