I'm trying to create a ticket system, but I have a small issue. 

I'm trying to group the existing items, in categories, based on the drop-down column "Status".

Ex:

* All tickets with status "Open" grouped together,
* all tickets with status "Closed" grouped together, and so on,

so when you click on one of them, you will see all the items contained in that category.

Does anyone know if there is any possible way to do this using XML?

As I've seen, there is an attribute called "Threaded" that allows this option, but I can't find any working example that could help me understand.