It's easy and fun to filter your team members with Team Builder.

While editing your team find Interface Elements under Design Customization section. Turn On switcher named Filters and click save.

Then go and edit your team members one by one and fill them with categories for filtering. While editing team member (Employee) fill Department field.

That’s it!