Forum OpenACS Q&A: Response to Postgres syntax requires me to run a function repeatedly?

You can also:
select a, func(b)
from table
order by 1, 2
At least you can in Oracle...