mcrider/ojs — comment on commit dfa3298c3d27f57f4f97bdbefcab40cb50401113
File: classes/article/AuthorDAO.inc.php line 154
By mcrider:

Alec, I don't have Postgres on my machine, but I think it should work? http://durak.org/sean/pubs/software/postgresql/queries-order.html shows that you can use column labels to sort by. Or is there a special consideration when using COALESCE? I should probably get an installation of PGSQL up on my machine anyway, but its far from trivial to do on the mac...