I have a list of publications. Each has name, Volume, Number and a marker whether it is a supplement or not.
I need to order them like that:
Wheels Vol. 30, Num. 3
Wheels Vol. 30, Num. 4
Wheels Vol. 30, Num. 4 (supplement)
Wheels Vol. 30, Num. 5
I am trying to do this:
ORDER BY name, volume, supplement DESC, number
But I get this:
Wheels Vol. 30, Num. 3
Wheels Vol. 30, Num. 4
Wheels Vol. 30, Num. 5
Wheels Vol. 30, Num. 4 (supplement)
if i do this:
ORDER BY name, volume, supplement, number
I get this:
Wheels Vol. 30, Num. 4 (supplement)
Wheels Vol. 30, Num. 3
Wheels Vol. 30, Num. 4
Wheels Vol. 30, Num. 5
Where do I go wrong?