Filter a table based on coloured rows

At the moment there’s no option to filter based on coloured rows. It would be useful for me to create a table widget in which I can see if there are coloured items and what they are. If coloured means there’s an immediate action needed, I want to instantlty see them and not scrolling through an unfiltered table.