How to create a list of users according their roles? How can I create/see the list of user according their roles?

I'm interested in any answers to do this programmatically, or via any other way/technique I could use for this.
Create a View Page of users with exposed filter as role.