I have followings 3 values that could be in a row in database – ON, OFF, SOLD (column sort_it). When I set the sort clausule on ORDER BY sort_it ASC, so I will get the items with a value in the sort_in column OF, then ON and SOLD.
But I need the sequence ON, OFF, SOLD.
Exist any way to do it somehow? I mean… edit a way saving data into database will be demanding, so I would do this in the last moment.
Yes you can use custom data sortings like this: