|Re: Using params to choose the order by fields?
Thanks for the answer. Just one little thing in case anyone else needs to do this. The ; after the "END" in the first case statement should not be there.
But otherwise works perfect.