How to store order of items in case we have a bitmask that contains a list of items?
<p>I have a bitmask in my db for storing a list of items. Before now I just rendered these items one by one on the screen. But now user should have an ability to set the order of items. I have a solution that I dislike: to store ids list in the field using some separator (something like this 1|8|4|16). </p>

<p>Can anyone help me to find another solution?</p>
