Kjetil Haaland <kjetil(dot)haaland(at)student(dot)uib(dot)no> writes:
> I have created my own user defined type, and an operator class for this type.
> Then i can use the order by clause with this type, but it is sorting with the
> lowest value on top. Is it possible to get it to sort with the highest value
> on top?
ORDER BY foo DESC
regards, tom lane