I use ACF Pro to create a customized comments section with additional fields to my custom post type called Products (it's a simple page with a custom comment section, NOT using WooCommerce).
Now visitors to the website can comment by adding a place where you can buy the product. You can add an image, name, price, link, and country for each product, and it works great.
How it looks, (please ignre the random data inside, just for testing purpose): https://ibb.co/zh0rWf9
What I want is to be able to sort or filter those comments, by adding a select form with options that will make users able to sort the comments by the country field. If they select the UK option in select form, then the first comments should be the ones containing 'UK' in the country field.
Can anybody help me with this?