SQL injection in ORDER BY

Code reviewMedium22 min

Your task

Review this Java (JDBC) method that builds a dynamic listing query.