[NEW] Sort the Omnichannel Chat list according to the user preferences (#16437)
[NEW] Sort the Omnichannel Chat list according to the user preferences (#16437)

* Fix the order of the Omnichannel chats list, keeping the items sorted by activity.

* Remove invalid console.log.

* Sort the Omnichannel chat list according the user preference.

* Remove unnecessary extra parenthesis.

Sing-Li/Rocket.Chat,VoiSmart/Rocket.Chat,subesokun/Rocket.Chat,VoiSmart/Rocket.Chat,subesokun/Rocket.Chat,VoiSmart/Rocket.Chat,Sing-Li/Rocket.Chat,Sing-Li/Rocket.Chat,subesokun/Rocket.Chat,subesokun/Rocket.Chat,Sing-Li/Rocket.Chat