How can I sort SQL results by the titles of the columns ?
Yes, the horizontal way and without entering every single column name manually.
Id, Name, Forename, Department -> Department, Forename, Id, Name
Or can PL/SQL return groups of values ? Like:
select GetAllColumnsSortedByName(1) from table_name
(I can imagine this is a strange question, but it would help me, I have tons of columns in every table, actually, sorry, but how about the PL/SQL aspect ?)