Can I use placeholders in a prepared statement for the order by clause of my query?
I'm guessing not, as I tried it, and it didn't seem to work, but it didn't throw any errors either, which seemed strange.
Is there a better way to do this, other than just generating an SQL string with the validated inputs?