Filtering categories and sub categories

Hi
I want to add a filtering function to the app so the end user can filter by category, sub category, price, etc. I have no idea how to do this. It is an educational platform so really need a filter function.
Hope you can help.
thanks
Sarah

You can have a look at this post.

thank you i will check this out. I couldn’t work out how to add this. Thank you