Search Members by Country

Hello, anyone know how can I insert country flags on members page in order to click on each one and list just the members from this specific country?

I'm using BP Profile Search Plugin by the way, can I customize it to allow me to search by country?

If it's something hard to develop I dont mind to have a dropdown with all Countries instead of flags.

Thanks
F