A collection coming from a Headless CMS base can be filtered or sorted exactly the same way as you would sort or filter an Excel data source. If you are not familiar with this mechanism, you can learn more in this article.
The ability to filter is different from the variant approach detailed here.
Important note: All filtering and sorting is applied locally at the Player level. This doesn't rely on the Intuiface cloud, on an API, or web services and thus can work even if your experience is running offline, provided all the content of your base has already been synchronized locally.