I hope there\'s a simple solution for this:
I have a table where each row has it\'s own status (SET type field). Statuses can be:
SET
Nevermind.
The trick is saving SET values at the right order.