I have a field. It has a value called 'REG' and then a bunch of other random values. What I would like to do is when I order the results from a query I would like to have REG show up first (or last depending on the ASC/DESC) ex:
values in DB:
test1
REG
REG
REG
test2
test3
REG
test4
atest5
Sorted the way I want (ASC):
REG
REG
REG
REG
atest5
test1
test2
test3
test4
and the reverse for DESC. Is there a simple way to do this?
values in DB:
test1
REG
REG
REG
test2
test3
REG
test4
atest5
Sorted the way I want (ASC):
REG
REG
REG
REG
atest5
test1
test2
test3
test4
and the reverse for DESC. Is there a simple way to do this?