In addition to filtering chats, WhatsApp is working on group filtering as well.

The company is currently working on delivering the same capability to normal WhatsApp accounts in a future update of WhatsApp beta for Android, iOS, and Desktop after introducing the option to filter chats to corporate accounts on a previous version of WhatsApp

The company is currently working on delivering the same capability to regular WhatsApp accounts in a future update of WhatsApp beta for Android, iOS, and Desktop after introducing the option to filter chats to corporate accounts on a previous version of WhatsApp.

When touching the search bar on the desktop, business accounts can see the filter button. With the help of this function, WhatsApp has made it simpler to search for unread chats, contacts, non-contacts, and groups. In a future update of the program, standard WhatsApp accounts will also be able to utilize the same feature. Still, there is one additional distinction: the filter option will always be available, even when you are not searching for chats and messages.
Although the screenshot was taken from the WhatsApp Desktop beta, it should be noted that the feature will also be made available in a future update to the WhatsApp beta for Android and iOS. Additionally, after installing the WhatsApp beta UWP 2.2216.4.0 version two weeks ago, this capability was already made available to everyone.

Read more here