Hello all,
I want to filter a list/table by status. Until now I have built the filters for "Alle", "Beantragt", "Genhemigt", "Abgelehnt" und "Storniert"
"Alle"= All applications are displayed
"Beantragt"= All requests with the status requested will be displayed.
"Genehmigt" = All requests with the status approved are shown
"Abgelehnt" = All requests with the status rejected are shown
"Storniert"= All applications with the status canceled are displayed
"Nach Kategorie" = All requests are filtered by category
Now I would like to program the last button "Nach Status" as well (See Image below). This should filter all requests by status and show the applications in the following order: First all requested, then all approved, then all rejected and then all cancelled.

Until now I had programmed it like this for the Button "Alle" (see image)
Items of the Gallery:

Now I want the same to happen for the "Nach Status" button, only that it sorts the entries at the same time, i.e. first all entries with the status requested are displayed, then all entries with the status approved, then all entries with the status rejected and finally all entries with the status cancelled.
How can I do that? Is this a good approach? (See image below)

I hope I could explain my question in an understandable way...
Many thanks in advance!
PowerSäm