How can I sort this resultset so that a column named itmlabel that corresponds to textid will come in the order 'B', 'R', 'E', 'V'?
SELECT DISTINCT a.itemtype, c.textid, c.min, c.max, rtrim(c.header) as header
FROM ONLINETST.vdepts d, ONLINETST.item a, ONLINETST.text c
WHERE...